Update ex5.py

THIS is the exercise I skipped by mistake