How Python Compares Floats and Ints: When Equals Isn’t Really Equal - eviltoast
  • Pelicanen@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    3
    ·
    6 months ago

    Yeah, a lot of editors throw warnings for using the equals operator with floats by default, as far as I know it’s considered bad practice to do it that way.