#!/usr/local/bin/python3 #eggs = 15 def spam(): global eggs eggs = "A" bacon() print(eggs) def bacon(): ham = "local bacon's ham" eggs = "local bacon's eggs" print(eggs) spam() bacon() #print(eggs)