pow(x,y,z) : x to the power of y with modulus z
x Number the base
y Number the exponent.
z(optional) number used to get Modulus ( % )
Return the number .


print(pow(2,3)) # 8
This is same as 23 , output is 8

Using z to get modulus (optional)

To above output we can apply modulus %
print(pow(2,3,3)) # 2

Using float

print(pow(2.3,3)) # 12.166999999999998

max() Bitwise operators using bin() int() float()

Subscribe to our YouTube Channel here


* indicates required
Subscribe to plus2net


    Post your comments , suggestion , error , requirements etc here

    Python Video Tutorials
    Python SQLite Video Tutorials
    Python MySQL Video Tutorials
    Python Tkinter Video Tutorials
    We use cookies to improve your browsing experience. . Learn more
    HTML MySQL PHP JavaScript ASP Photoshop Articles FORUM . Contact us
    ©2000-2024 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer