squares = []
i = 1
while i <= 10:
squares.insert(i-1, i**2)
i += 1
squares.insert(5, "Melnikov")
print(squares)
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Verified answer
squares = []
i = 1
while i <= 10:
squares.insert(i-1, i**2)
i += 1
squares.insert(5, "Melnikov")
print(squares)