Answers for "how to power in python"

10

how to power in python

2 ** 3 == 8
Posted by: Guest on August-28-2020
9

power function python

# There are two ways of computing x^y in python:
>>> 3 ** 4
81
>>> pow(3,4)
81
Posted by: Guest on March-30-2020
4

power in python

#The ouptut will be x ^ y
x**y
Posted by: Guest on June-01-2020
0

how to take a number to a power in python

#16 to the power of 2
answer = 16**2
Posted by: Guest on September-19-2020

Python Answers by Framework

Browse Popular Code Answers by Language