0
I’m doing a python course and I couldn’t understand the binary operator IS.
0
I’m doing a python course and I couldn’t understand the binary operator IS.
Browser other questions tagged python-3.x
You are not signed in. Login or sign up in order to post.
Is checks if it is the same object... many people confuse it with == which checks if it has the same value.
– Fabricio Paiva
So IS is like a question right?
– Davi Marques
In reality it checks if two obejtos have the same ID... if they have returns True.
– Fabricio Paiva