if <any number> or <any variable> is always true, if the value is set. It's kind a not null-condition. The integer representation of a boolean is different from that and this is, what you checked with the last both statements. Only 1 is equal to true.
read my name if you know the answer
Can you explain not operator clearly
I have tried every way I could find but still I can't display my local images ..what am I doing wrong?
Bug: Sololearn notification is still showing number in the notification icon even i did mark as read
Izzy the iguana code coach
Hi, hope you're doing good.Could someone please tell me why does the while loop not stop when I type in rock, paper or scissors?
Finished python for beginners
C++ Question re stringstream