79131662

Date: 2024-10-27 23:03:03
Score: 3
Natty:
Report link

What Python is doing in this case is memory conservation. Since there is already an address pointing to the value 20, there is no point in creating a new one. This is different for classes, though, because each time a class is referenced, it creates a new class object for the variable.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): What
  • Low reputation (1):
Posted by: Brody Padgett