In CPython, it'll probably be B because literals for small integers are references to what are essentially singletons, but that's a runtime implementation detail.
The use of "is" is incorrect should be A.
In CPython, it'll probably be B because literals for small integers are references to what are essentially singletons, but that's a runtime implementation detail.
The use of "is" is incorrect should be A.