Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def MountainRight():
- PenSouth()
- Forward(350)
- t.setheading(-45)
- Start("#363636")
- Forward(1000)
- Backward(1000)
- PenSouth()
- Forward(1500)
- PenEast()
- Forward(1500)
- End()
- def MountainLeft():
- PenSouth()
- Backward(150)
- Start("#515151")
- t.setheading(-135)
- Forward(1000)
- Backward(1000)
- PenSouth()
- Forward(1000)
- PenWest()
- Forward(1000)
- End()
- def SunDetails():
- PenNorth()
- t.penup()
- Forward(200)
- PenEast()
- Start(bg_color)
- t.left(90)
- t.circle(50, 85)
- t.circle(15, 110)
- t.right(180)
- t.circle(30, 150)
- t.right(5)
- Forward(10)
- t.right(90)
- t.circle(-70, 140)
- Forward(40)
- t.right(110)
- t.circle(100, 30)
- t.circle(30, 100)
- t.left(50)
- t.forward(50)
- t.right(145)
- Forward(30)
- t.left(55)
- Forward(10)
- t.forward(10)
- t.left(55)
- t.forward(30)
- t.right(145)
- Forward(50)
- t.left(50)
- t.circle(30, 100)
- t.circle(100, 30)
- t.right(90)
- t.right(20)
- Forward(40)
- t.circle(-70, 140)
- t.right(90)
- Forward(10)
- t.right(5)
- t.circle(30, 150)
- t.left(180)
- t.circle(15, 110)
- t.circle(50, 85)
- End()
- Sun()
- MountainRight()
- t.home()
- MountainLeft()
- t.home()
- SunDetails()
- t.color("White")
- t.penup()
- t.setpos(0, -450)
- t.pendown()
- t.write("BATMAN IN THE MIDDLE OF MOUNTAIN", font=("Verdana",
- 32, "bold"), align="center")
- t.penup()
- t.setpos(999, 999)
- turtle.done()
Advertisement
Add Comment
Please, Sign In to add comment