Why in the code below
n, m= 5.0, 10
print(m/n==2, m/n is 2)
returns True
and False
if m/n
returns 2.0
, then why first part is True
Why in the code below
n, m= 5.0, 10
print(m/n==2, m/n is 2)
returns True
and False
if m/n
returns 2.0
, then why first part is True