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
It is much easier to parse a list of numbers separated by spaces rather than trying to parse Python syntax:
Python 3:
s = input() numbers = list(map(int, s.split()))
Python 2:
s = raw_input() numbers = map(int, s.split())