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