Concept

pow(x, y, z)

This built in function has 3 number parameters: x being the base, y being the exponent, and z (optional) used for modulus.

pow(x, y) computes x^y pow(x, y, z) computes x^y % z

Image 0

0

1

Updated 2021-06-06

Tags

Python Programming Language

Data Science

Related