square 5 in python using square function
Answers
Answered by
1
Answer:
There are several ways to square a number in Python: The ** (power) operator can raise a value to the power of 2. For example, we code 5 squared as 5 ** 2 . The built-in pow() function can also multiply a value with itself.
Similar questions