#!/usr/bin/python3
#====================================================================================
# Get the reference of an object
#====================================================================================
print("content-type: text/html \n")

print('<pre>')                          #to produce better display on the web 

name = "sam"
addr = id(name)
print(F"name={name} \t is at location: {addr} \t in hex {addr:x}")           
name = "john"
addr = id(name)
print(F"name={name} \t is at location: {addr} \t in hex {addr:x}")