Skip to content

Commit

Permalink
[docs] Updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
happycod3r committed Jul 28, 2023
1 parent 60c3860 commit 32cb016
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions tests/test.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@

# def genAI():
# a = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
# for i in range(len(a)):
# b = input("enter a number: ")
# if int(b) == a[i]:
# yield b

# index = 0
# c = []

# for value in genAI():
# c.append(value)
# index = index + 1
# print(repr(c))


def echo_type():
prompt = ":>> "
while True:
inpt = input(F"{prompt}")
yield inpt

def output(inpt: str):
print(inpt)

for value in echo_type():
output(value)

0 comments on commit 32cb016

Please sign in to comment.