You are viewing a single comment's thread. Return to all comments →
n = int(input()) # Assuming n is always positive for i in range(n): print(i ** 2)
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 →
n = int(input()) # Assuming n is always positive for i in range(n): print(i ** 2)