Introduction to Programming using Python 1st Edition

Published by Pearson
ISBN 10: 0132747189
ISBN 13: 978-0-13274-718-9

Chapter 1 - Introduction to Computers, Programs, and Python - Section 1.9 - Getting Started with Graphics Programming - Check Point - MyProgrammingLab - Page 24: 1.40


>>> import turtle >>> turtle.goto(x, y)

Work Step by Step

When the Turtle program starts, the arrowhead is at the center of the Python Turtle Graphics window at the coordinates (0, 0). You can also use the goto(x, y) command to move the turtle to any specified point (x, y). >>> import turtle >>> turtle.goto(x, y) x,y are the coordinates on the screen. Coordinates are actually the collection of thousands of pixels in a screen boundary.
Update this answer!

You can help us out by revising, improving and updating this answer.

Update this answer

After you claim an answer you’ll have 24 hours to send in a draft. An editor will review the submission and either publish your submission or provide feedback.