You are viewing a single comment's thread. Return to all comments →
If you enjoy using map and lambda, check this out:
print(*map(lambda x: x**2, range(n)), sep='\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 →
If you enjoy using map and lambda, check this out:
print(*map(lambda x: x**2, range(n)), sep='\n')