python how to make local variable global code example Example: how to declare global variable in python global n n = 'whatever'