Short coding exercises in python.