Nested Function Examples In Python