0
Def
What exactly is the double == Like X==0 I think I missed it, as it gets harder, I forget what I have learnt a couple of chapters ago
3 Antworten
+ 3
it's a comparison operator used for checking if both values are equal.
here it checks if the value of x is 5
eg: x=5
if x==5:
print("Yes")
else
print("No")
output: yes
+ 3
Check it out
Booleans & Comparisons
https://www.sololearn.com/learn/JUMP_LINK__&&__Python__&&__JUMP_LINK/2276/
+ 1
ok, that is what I thought. Thank you