Answer the question
In order to leave comments, you need to log in
True, False, None are singleton objects?
Hey!
When assigning different variables to None, the id function always returns the same address:
a = None
b = None
print(id(a))
print(id(b))
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question