How Do Closures Work In Python