Post

@PythonPr Answer: Same
In Python, 10 (int) and 10.0 (float) are considered equal in value.
So:
10 == 10.0 → True
Even though their types are different, Python compares the numeric value, not the type here.
English

Supernova - A Tribute to Oasis
Live at @MadLifeStage - Woodstock, GA
Wednesday, February 25, 2026 | 7:00 PM
See you down the front, mad fer it? 🇬🇧
English

@PythonPr 1. DIFFERENT
2. Integer & Float aren't equal dtypes
English

@PythonPr The equality operator can be used to compare ints with floats. So, 10 is the 'Same' as 10.0
English

@PythonPr Same. int gets promoted to float while comparison
English











