Examveda
Examveda

In Python, what does the % operator do when used for string formatting?

A. Substitutes variables

B. Raises an error

C. Performs division

D. Calculates exponentiation

Answer: Option D


This Question Belongs to Python Program >> Formatting And Decorators

Join The Discussion

Related Questions on Formatting and Decorators