Create ex7.py

I don't know how, but I skipped a number in the exercises but I did all of them so far...