+ 4
What does pow do?
my_variable= pow (10,5,7) print(my_variable)
2 odpowiedzi
+ 9
Pow(x,y,z)
X- number which is to be powered
Y- number which is to be powered with x
Z-(optional) number which is to be '%' operation
Example:
X=7
Y=2
Z=5
Print(pow(x,y,z))
The output is 4
(7*7)%5==4
Hope i help you😃
0
It will raise a number to the power of another number...that is 3 power 2 is 9 since 3x3 is also 9