I am new to Python and have tried some problems to code in this but got this same error everytime. So I tried this simple code and again got the same error.
t = raw_input()
for i in range(int(t)):
print i
1 t = raw_input()
----> 2 for i in range(int(t)):
3 print i
ValueError: invalid literal for int() with base 10: ''
I don't know what's wrong here. Please help. i am using Python 2.7