Q. What is the result of 10.0 // 3?

A
3.33
B
3.0
C
3
D
Error
Solution:

Floor division // with floats returns 3.0, the integer part as a float.

Entri Contact Image

Get Expert Advice for Free: Register for Your Free Consultation Now!