Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import turtle
- bob = turtle.Turtle()
- bob.left(90) # to point Turtle up
- bob.pencolor("black") # Sets the colour of the string
- bob.forward(150) # Sets the length of the string
- bob.pencolor("Red") # Set the colour of the balloon, in this case, red
- bob.pensize(60) # This sets the size of the balloon, experiment...
- bob.forward(1) # Draw the balloon
- bob.pensize(1) # Reset the the pensize
- bob.penup()
- bob.backward(151) # Return Turtle to starting position
- bob.pendown()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement