(a % b) ** c (a ** b) % c (a / b) ** c (a ** b) / c The pow(a, b, c) is evaluated as (a ** b) % c. This is because in most cases, a ** b is very large, and thus, a modulo is taken at the end. Python Basics Interview Questions Python Interview Questions Comments Log in or register to post comments
Comments