The printxy statement allowed you to display text on the screen at a particular x,y
coordinate. This is a useful function because it treats text like graphics, so you can draw and animate
In this lesson, let's draw some text that moves across the screen, from right to left, sort of like an animated
Now you try. Fix the for-loop to count from x=200 to x=-200 in steps of -10 or so. Next, fill in the proper $(x,y)$ coordinates
of where the text should be drawn in the printxy statement.
Type your code here:
See your results here:
Show a friend, family member, or teacher what you've done!
Here is a share link to your code:
Does your code work? Want to run it on your iPhone?
Here's your code:
Use [Control]-[C] (Windows) or [⌘]-[C] (MacOS) to copy your code.
Paste it using [Control]-[V] (Windows) or [⌘]-[V] (MacOS) into
Then click the "Use on iPhone" button that you'll see.