Exercise for python.