some simple exercises of Python