def askinput():
a = input()
return a
def main():
print("enter input")
l1 = list()
value = 0
while value != 42:
value = int(askinput())
l1.append(value)
for i in l1:
print(i)
main()
can anybody please say what is wrong?
created
last reply
- 2
replies
- 945
views
- 2
users
- 1
link