1,4,9,-------100 in python
Answers
Answered by
0
Heya Mate ❤ Here's the answer..
loop method (slow but easy to understand for new programmer -)
Please Mark As the Brainliest
loop method (slow but easy to understand for new programmer -)
Please Mark As the Brainliest
Answered by
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
Biology,
6 months ago
Computer Science,
6 months ago
English,
1 year ago
Physics,
1 year ago
Physics,
1 year ago