You are viewing a single comment's thread. Return to all comments →
if name == 'main': n = int(input())
for i in range(n): i = i**2 print(i)
Seems like cookies are disabled on this browser, please enable them to open this website
Loops
You are viewing a single comment's thread. Return to all comments →
if name == 'main': n = int(input())
this is my code and it worked .