What will be the output of the following Python program?

a = 10
b = 3
print(a / b)
                        

Options

  • A. 3
  • B. 3.0
  • C. 3.3333333333333335
  • D. More than one of the above
  • E. None of the above

Correct Answer (Detailed Explanation is Below)

C. 3.3333333333333335

Detailed Explanation

The / operator performs true division in Python and returns a floating-point result.