how to write a program of square of a number of python ??????♀️♀️♀️
Answers
Answered by
2
Answer:
To calculate the square of a number in Python, we have three different ways.
- By multiplying numbers two times: (number x number)
- By using Exponent Operator . (number 2)
- Using math.pow() method: (math.pow(number, 2))
Explanation:
thanks
follow
me
Answered by
1
To calculate the square of a number in Python, we have three different ways.
- By multiplying numbers two times: (number*number)
- By using Exponent Operator
- Using math.pow() method: (math.pow(number, 2))
Similar questions