You are viewing a single comment's thread. Return to all comments →
I know trhat is not necessary a list but well.. if I'll use this data next I supoused that is a good idea
if name == 'main': n = int(input()) list= []
for i in range(n): add = i**2 list.append(add) print(add)
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 →
I know trhat is not necessary a list but well.. if I'll use this data next I supoused that is a good idea
if name == 'main': n = int(input()) list= []