Home » Programming Language (coding) » Python MCQ » What is the output of print 0.1 + 0.2 == 0.3?

What is the output of print 0.1 + 0.2 == 0.3?

What is the output of print 0.1 + 0.2 == 0.3?

A. True
B. False
C. Machine dependent
D. Error

Correct Answer: Option B. False 

Leave a Reply

Your email address will not be published. Required fields are marked *

Solve : *
24 + 4 =