Computer Science, asked by ramansingh27, 1 year ago

1,4,9,-------100 in python ​

Answers

Answered by Anirban1108
0
Heya Mate ❤ Here's the answer..

loop method (slow but easy to understand for new programmer -)

Please Mark As the Brainliest
Answered by fiercespartan
1

In this question, we are asked to find the squares of the first 10 numbers.

I will be using the range() functions and a for loop.

To find a square of a number in python, the command is **.

So, here it is:

for i in range(1,11):

   print(i**2)

Hope it helps!

Similar questions