V
Hello, I'm a newbie.
What's the defference between
Sure, I understand that "is" is not "==", cause "is" just compares id(a)==id(b).
I have a win32 CPython and the range of "singletons" is from -5 to 256 on my machine.
I am asking about what happens in Python interpreter? Why is there a difference between running one line like "a=1;b=1" and two lines like "a=1 \n b=1"? Does it decide to locate memory in different types depend on a code?
Hello, I'm a newbie.
What's the defference between
*skip*
vino19 said:Hello, I'm a newbie.
What's the defference between
?
Hello, I'm a newbie.
What's the defference between
?
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.