Update day5.py

up to q9, good job, to be continue (python challenge)