I tried to use raw_input() to get a list of numbers, however with the code
raw_input()
numbers = raw_input() print len(numbers)
the input
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)