programming languages python lab 4.4