- 1

How to print squares of first 10 natural numbers??

With using python?

1st Jul 2020, 4:11 PM
Kush Jain
Kush Jain - avatar
3 Antworten
+ 7
Because it's a homework related question, so like 𝐊𝐢𝐢𝐛𝐨 𝐆𝐡𝐚𝐲𝐚𝐥 Told you that we can't do that. But I can give you some hints. Hint(easiest ways according to me) :- You can use the for loops with range from the first natural number to the last natural number and use i**i with it. Or You can also use while loops with it. Or You can import math and use the square function Or You can simply print all squares of first ten natural numbers.
1st Jul 2020, 4:26 PM
Arctic Fox
Arctic Fox - avatar
- 1
Ty
1st Jul 2020, 4:27 PM
Kush Jain
Kush Jain - avatar