Examveda

The function pow(x,y,z) is evaluated as:

A. (x**y)**z

B. (x**y) / z

C. (x**y) % z

D. (x**y)*z

Answer: Option C

Solution (By Examveda Team)

The pow() function in Python is used to raise a number x to the power of y, optionally taking a modulo z. The expression pow(x, y, z) is equivalent to (x ** y) % z, which means x raised to the power of y, then the result is taken modulo z.

This Question Belongs to Python Program >> Python Built In Functions

Join The Discussion

Related Questions on Python Built In Functions