Vidyalelo
Python · Q33

Python MCQs: Variable Names and Operators Chapter

Programming · Python · question 33

Q33

What is the result of 10 // 3 ?

A.
3
Answer
B.
3.0
C.
3.33
D.
0

Answer: Option A

Solution

Answer: Option A
Solution:
The // operator performs floor division, resulting in the quotient without the fractional part.