Skip to content

Instantly share code, notes, and snippets.

module top_module (
input too_cold,
input too_hot,
input mode,
input fan_on,
output heater,
output aircon,
output fan
);
module top_module (
input too_cold,
input too_hot,
input mode,
input fan_on,
output heater,
output aircon,
output fan
);
@ShovanSaha2020
ShovanSaha2020 / find_all_indexes_from_a_list.py
Created July 25, 2021 13:29
find_all_indexes_from_a_list.py
##Write a program that reads a sequence of numbers from the first line and the number x from the second line. Then it should output all positions of x in the numerical sequence.
##The position count starts from 0. In case x is not in the sequence, print the line "not found" (quotes omitted, lowercased).
##Positions should be displayed in one line, in ascending order of the value.
sample_list = input().split()
target = input()
index_list = []
@ShovanSaha2020
ShovanSaha2020 / sample.md
Created June 9, 2020 11:12 — forked from bradtraversy/sample.md
Markdown Cheat Sheet

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

This text is italic