Added question 1.1 python code.