Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # name = input("Enter your name: ")
- # year = int(input("Enter your birth year: "))
- # age = 2022-year
- # print("Hello", name, "It seems that you are about", age, "years old.")
- # CTRL + /
- from turtle import *
- tom = Turtle()
- tom.pensize(4)
- tom.color("red")
- tom.circle(50)
- tom.penup()
- tom.forward(100)
- tom.pendown()
- for x in range(20):
- tom.left(90)
- tom.forward(30*x)
- print(x)
- done()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement