Advertisement
KodingKid

A script in Python I made in school when I was a kid - Throwback script #1

Apr 30th, 2021
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.40 KB | None | 0 0
  1. import turtle
  2. my_screen1 = turtle.Screen()
  3. my_screen1.bgcolor("red")
  4. my_pencil1 = turtle.Turtle()
  5. my_screen2 = turtle.Screen()
  6. my_screen2.bgcolor("yellow")
  7. my_pencil2 = turtle.Turtle()
  8. my_pencil1.forward(150)          
  9. my_pencil1.left(90)
  10. my_pencil1.pensize(4)
  11. my_pencil1.color("white")
  12. my_pencil2.left(90)              
  13. my_pencil2.forward(75)
  14. my_pencil2.pensize(21)
  15. my_pencil2.color("black")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement