Some more examples for global/local variables and example for UnboundLocalError.