Advertisement
jane42070

Untitled

Mar 10th, 2020
603
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.48 KB | None | 0 0
  1. #!/usr/local/bin/python3.8
  2. # -*- coding: utf-8 -*-
  3. import turtle
  4. turtle.penup()
  5. turtle.speed(20)
  6. turtle.fd(-100)
  7. turtle.pendown()
  8. turtle.pensize(5)
  9. for i in range(18):
  10.     turtle.pencolor("purple")
  11.     turtle.fd(20)
  12.     turtle.right(90)
  13.     turtle.pencolor("pink")
  14.     turtle.circle(-10, 340)
  15.     turtle.left(60)
  16.     turtle.pencolor("purple")
  17.     turtle.fd(22)
  18.     turtle.left(90)
  19.     turtle.pencolor("green")
  20.     turtle.circle(-250, 10)
  21.     turtle.right(90)
  22. turtle.done()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement