Why this is giving "False" as input? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

Why this is giving "False" as input?

a = 4.20 b = 2.10 print(a+b == 6.30)

20th Oct 2020, 3:06 PM
‎Keshav
‎Keshav - avatar
4 Answers
+ 3
You can also try: Python + Numbers == goodSolution Is also false 😉
20th Oct 2020, 3:29 PM
Coding Cat
Coding Cat - avatar
+ 2
NotAPythonNinja that's kinda interesting Anyways thanks bro/sis 😄
20th Oct 2020, 3:40 PM
‎Keshav
‎Keshav - avatar
+ 1
NotAPythonNinja why there's 1 at the end????
20th Oct 2020, 3:29 PM
‎Keshav
‎Keshav - avatar