PyWeek #17 entry