>>>7>7.0 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

>>>7>7.0

why is that false.the python has to convert the integers into float right

28th Dec 2018, 4:19 PM
Dheekshith
Dheekshith - avatar
1 Answer
+ 1
It’s false because any number is never greater than itself. For example: 5 > 5 # false 8 > 8 # false
28th Dec 2018, 4:35 PM
Diego
Diego - avatar