@abhi9u@lemmy.world to Technology@lemmy.worldEnglish • 1 month agoHow Python Compares Floats and Ints: When Equals Isn’t Really Equalblog.codingconfessions.comexternal-linkmessage-square43fedilinkarrow-up1141arrow-down18
arrow-up1133arrow-down1external-linkHow Python Compares Floats and Ints: When Equals Isn’t Really Equalblog.codingconfessions.com@abhi9u@lemmy.world to Technology@lemmy.worldEnglish • 1 month agomessage-square43fedilink
minus-square@Siegfried@lemmy.worldcakelinkfedilinkEnglish26•1 month agoIf i’m comparing ints with floats, it is my fault in the first place
minus-square@warrenson@lemmy.worldcakelinkfedilinkEnglish2•1 month agoExactly, I’d expect a warning, if not an error.
If i’m comparing ints with floats, it is my fault in the first place
Exactly, I’d expect a warning, if not an error.