Hacker News new | ask | show | jobs
by xigoi 97 days ago
C and JavaScript both treat integers and floats as separate types. In Python, ints and floats with the same numeric value are considered identical for almost all purposes.