Examveda

What is the purpose of the modulo operator (%) in Python?

A. Finding the exponent

B. Multiplying numbers

C. Calculating the square root

D. Calculating the remainder

Answer: Option D

Solution (By Examveda Team)

The % operator calculates the remainder of division.

This Question Belongs to Python Program >> Variable Names And Operators

Join The Discussion

Related Questions on Variable Names and Operators