Python Programming - Operators - Discussion
Discussion Forum : Operators - General Questions (Q.No. 3)
3.
What is the result of the following operation:
10 // 3
?
Answer: Option
Explanation:
The
//
operator is used for integer division in Python. This means that the result of the division will be rounded down to the nearest integer. In this case, 10 divided by 3 is equal to 3.333, but since integer division is used, the result will be rounded down to 3.
Discussion:
Be the first person to comment on this question !
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers