""" Purpose: quick assessment of assignment """ x = "Toto" # variable x is assigned the literal string value "Toto" y = "Dog" remember_x = x # we can use this to remember the current value of x. It now has a copy of it's value x = y # variable x is assigned the value of variable y. y is "Dog", so x is updated to be "Dog" y = x # variable y is assigned the value of variable x. x is "Dog", so y is updated to be "Dog"... # even though it already was "Dog" print( "x:", x ) print( "y:", y )