SyntaxFix
Write A Post
Hire A Developer
Questions
Another way could be to use the for-loop for this one. Let's say you want user to input 10 numbers into a list named "memo"
memo=[] for i in range (10): x=int(input("enter no. \n")) memo.insert(i,x) i+=1 print(memo)