Advertisement
k1alo

Квадраты чисел

Nov 27th, 2023
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.09 KB | None | 0 0
  1. list = []
  2.  
  3. for i in range(1, 11):
  4.     square = i ** 2
  5.     list.append(square)
  6.  
  7. print(list)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement