pratice python idea