Advertisement
jabela

footballplayer

Oct 13th, 2018
319
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.51 KB | None | 0 0
  1. import turtle
  2.  
  3. def player(x,y):
  4.     turtle.penup()
  5.     turtle.goto(x,y)
  6.     turtle.setheading(0)
  7.  
  8.     # Horizontal Oval
  9.    
  10.     turtle.color("red")
  11.     turtle.begin_fill()
  12.     turtle.right(45)
  13.     for loop in range(2):
  14.             turtle.circle(40,90)
  15.             turtle.circle(10,90)
  16.     turtle.end_fill()
  17.  
  18.     # circle
  19.     turtle.left(25)
  20.     turtle.forward(25)
  21.     turtle.begin_fill()
  22.     turtle.color("black")
  23.     turtle.circle(15)
  24.     turtle.end_fill()
  25.  
  26. turtle.speed(10)
  27. player(100,100)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement