paints = ["red", "blue", "green"]
myfavorite = "pink"
print(globals())
print("-" * 60)
def color_room(myfavorite):
print(myfavorite)
if myfavorite in paints:
print("you are in luck")
print("LOCALS:", locals())
print("-" * 60)
def add_color(newcolor):
paints.append(newcolor)
paints.append(myfavorite)
print("LOCALS:", locals())
print("-" * 60)
print(globals())
print("-" * 60)
color_room("purple")
color_room("blue")
add_color("yellow")