Repaired exercise-3.3.py