python exercise of google