Python Programming - Operators - Discussion

Discussion Forum : Operators - General Questions (Q.No. 1)
1.
What is the result of the following operation: 10 / 3 ?
3
3.0
3.333333
3.3333333333333335
Answer: Option
Explanation:

The result of the operation 10 / 3 in Python is 3.3333333333333335.

The 5 you see at the end is just a rounded representation of the number. It's common for floating-point representations to include a small error due to the way computers handle floating-point arithmetic.

Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.