+ 1

Can anyone explain the meaning of pow?

16th Mar 2019, 2:35 AM
Dileep Patcha
Dileep Patcha - avatar
2 ответов
+ 5
pow() is an in-built python function to calculate power of a number. It takes two parameters, first, the number whoes power to be raised and another, how much powe to be raised. Simple help(pow) in the interpreter will give you detail.
16th Mar 2019, 3:09 AM
Шащи Ранжан
Шащи Ранжан - avatar
+ 5
pow(a,b[,c]) Returns a**b. With c parameter, Returns a**b%c
16th Mar 2019, 3:29 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar