ExamPlay Light Logo
Se connecter

Computer Science for IGCSE & O level - Programming (Section 8 - No. 22)

In Python, what will be the output of `print(15 % 4)`?
1
2
3
3.75

Explication

The modulo operator (%) returns the remainder of the division. 15 divided by 4 is 3 with a remainder of 3.

Commentaires (0)

Connectez-vous pour commenter
Publicité
BrainBehindX Inc Logo
©2026; Alimenté par BrainBehindX Inc