A variable is a reference to an object. An object may have several references. You use the assignment operator = to assign a value to a variable:
x = [3, 4] # a list object is created y = x # this object now has two labels: x and y del x # we delete one of the labels del y # both labels are removed: the object is deleted
The value of a variable can be displayed by the print function:
x = [3, 4] # a list object is created print(x)