week 7 python assignment