0

Why to use( not 1==7) for result FALSE instead of (1!=7) For Result FALSE

There are a lot of confusion in python learning.

4th Feb 2020, 11:11 PM
Sudip gautam
Sudip gautam - avatar
2 Respuestas
+ 2
You would use 1 != 7 in Python! It's only that not 1==7 leads to the same result. In words, the first means: 'It's not true that 1 equals 7.' And the second means: '1 is unequal to 7.' Both is true, right? Because both is saying the same. Just as with natural languages, you can sometimes say the same thing with different worda.
4th Feb 2020, 11:30 PM
HonFu
HonFu - avatar