giving error in first line while summiting but custom code runs fine

programming
python3
python36

#1

T=input()
for i in range(int(T)):