Learning how to program in python