for i in range(1,11):
print(i**2)
Либо:
[print(i**2) for i in range(1,11)]
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
for i in range(1,11):
print(i**2)
Либо:
[print(i**2) for i in range(1,11)]