# Author:  James Tam
# Version: Oct 2013

def fun():
    print(num)  # Not OK 'num' out of scope                                                                                          

def start():
    num = 12
    print (num)  # OK within scope                                                                                             
    fun()

start()
