You are viewing a single comment's thread. Return to all comments →
n = int(input())
for i in range(0,n): print(i*i) i= i+1
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 →
using python 3
n = int(input())
for i in range(0,n): print(i*i) i= i+1