You are viewing a single comment's thread. Return to all comments →
from future import print_function if name == 'main': n = int(raw_input()) for i in range(n + 1): print i
This the code I am trying to run but it throws an invalid syntax error on line 5. The same code when I run on the compiler it works.
Seems like cookies are disabled on this browser, please enable them to open this website
Print Function
You are viewing a single comment's thread. Return to all comments →
from future import print_function if name == 'main': n = int(raw_input()) for i in range(n + 1): print i
This the code I am trying to run but it throws an invalid syntax error on line 5. The same code when I run on the compiler it works.