NERFELITEWAR
NERFELITEWAR

Reputation: 9

Can turtle() print blank lines?

for eg-

s= turtle.Turtle()
s.fd(100)

Then it will print lines in the east direction by default. The problem arises when we have to print blank lines to give some outline or to skip a part, so how we can code using turtle module that it will print a blank line.

Upvotes: 1

Views: 598

Answers (1)

Blupper
Blupper

Reputation: 398

Use s.penup() before moving to lift the pen from the paper. Use s.pendown() to lower the pen in order to start drawing again.

Here is the documentation of the turtle library where you can find more information about your turtles.

Upvotes: 2

Related Questions