write a program in python to find the first 10 squars of natural numbers in ascending order and after task is completed print end
Answers
Answered by
4
squares = [n * n for n in range(1, 10 + 1)]
print(squares, "\nend")
Similar questions