I am new to both Python and SPOJ. I hope that I can find some helps here
I have tried "The 3n plus 1 problem" (spoj.pl/problems/PROBTNPO/) for today, but the result is always NZEC.
Here is my code
while data!=" ":
for i in range(b-a+1):
I do not know where it goes wrong. Can someone help me?