Learning how to program in Python