copying_variables.md

April 15, 2022 ยท View on GitHub

Copying Variables

  1. True or False?

Running var = 3 creates an object. Running another_var = var creates another object with the value of var

Solution

False. another_var = var makes another_var to point to the same object var points to. It doesn't creates another object.