title: Simulate static variables in python with closures
body: <p>Is it possible to write a function in python, which takes an argument a and prints the result of h+a where h is a local variable. Then it should return itself, with h increased by one.</p>