Computer Science, asked by jatinkararia1210, 3 months ago

how to write a program of square of a number of python ??????‍♀️‍♀️‍♀️​

Answers

Answered by yashshreesharma22
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 tanishapaul1340
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