answer to question on my python test