You are viewing a single comment's thread. Return to all comments →
n = int(input())
for x in range(n): value = x*x if value >=0 and value <=20: print(value)
Loops
You are viewing a single comment's thread. Return to all comments →
n = int(input())
for x in range(n): value = x*x if value >=0 and value <=20: print(value)