You are viewing a single comment's thread. Return to all comments →
this works too :)
print('\n'.join( [str(x**2) for x in range(int(input()))] ))
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 →
this works too :)
print('\n'.join( [str(x**2) for x in range(int(input()))] ))