What is the result of 10 % 3 in Python?
-
A
1
Correct answer
-
B
3
-
C
0
-
D
10
12 views
Explanation
% returns the remainder: 10 divided by 3 leaves remainder 1. Source: Standard Python content (FBISE-aligned).
Reference
Asked in: Matric,FBISE
Doubts & discussion
Not sure why the answer is A? Ask here and get an explanation.
Ask a doubt about this MCQ