#!/usr/local/bin/python3 def spam(): eggs = "hello" print(eggs) spam() global eggs eggs = 42 print(eggs)