write python program to get the result of 12^2
Answers
Answered by
9
Answer:
OR
Note:-
- pow() returns a number raised to power second number
- You can also write 12**2 instead of using pow()
Attachments:
Answered by
2
(12 * * 2) will give the result of
Now you can either store the value using any variable, like this:
result = (12 * * 2)
Or, simply print using print() function, like this:
print(12 * * 2)
Extra:
* is used to calculate the product and,
* * is used to find the power of the number
Similar questions