is there a difference between one line and many lines

vino19 vinograd19 at gmail.com
Thu Apr 21 11:38:52 CEST 2011


Hello, I'm a newbie.
What's the defference between

>>>a=-6; b=-6; a is b
>>>True

and

>>>a=-6
>>>b=-6
>>>a is b
>>>False

?



More information about the Python-list mailing list