Added Ex1.1 Q4 (Python)