Watermelon 03/29/201903/29/2019 | IreneIrene | 2 Comments | 9:39 pm Categories: Difficulty Level 2 Draw a watermelon with eyes and mouth 🙂 Watermelon with Python Turtle Tags: basics 2 thoughts on “Watermelon” import turtle turtle.speed(0) turtle.up() turtle.circle(250,270) turtle.down() turtle.begin_fill() turtle.fillcolor(‘limegreen’) turtle.circle(250,180) turtle.left(90) turtle.fd(50) turtle.left(90) turtle.circle(-200,180) turtle.left(90) turtle.fd(50) turtle.end_fill() turtle.left(180) turtle.fd(50) turtle.right(90) turtle.begin_fill() turtle.fillcolor(‘red’) turtle.circle(200,180) turtle.left(90) turtle.fd(400) turtle.end_fill() turtle.up() turtle.goto(-130,230) turtle.down() turtle.begin_fill() turtle.fillcolor(‘black’) turtle.circle(25) turtle.end_fill() turtle.up() turtle.goto(-135,220) turtle.down() turtle.begin_fill() turtle.fillcolor(‘white’) turtle.circle(15) turtle.end_fill() turtle.up() turtle.goto(130,230) turtle.down() turtle.begin_fill() turtle.fillcolor(‘black’) turtle.circle(25) turtle.end_fill() turtle.up() turtle.goto(125,220) turtle.down() turtle.begin_fill() turtle.fillcolor(‘white’) turtle.circle(15) turtle.end_fill() turtle.up() turtle.pensize(10) turtle.goto(15,100) turtle.circle(15,270) turtle.down() turtle.circle(15,-180) Nice. It works! Comments are closed. Post navigation PREVIOUS Previous post: PopsicleNEXT Next post: Connect Four Game with Monte Carlo Tree and Python Turtle Related Post Clock Tick MarksClock Tick Marks 03/22/201903/22/2019 | J & J Coding AdventureJ & J Coding Adventure | 0 Comment Draw evenly space 60 clock tick marks as shown here. READ MOREREAD MORE PetalPetal 03/21/201903/21/2019 | J & J Coding AdventureJ & J Coding Adventure | 0 Comment Draw a petal shape as shown. Trick here is use circle() function’s extent parameter to draw an arc of a circle and then call setheading() function with opposite (+180 degrees) READ MOREREAD MORE Khan Academy Logo with Python TurtleKhan Academy Logo with Python Turtle 05/05/201905/05/2019 | JishnuJishnu | 0 Comment Draw the following Khan Academy Logo with Python Turtle. READ MOREREAD MORE
import turtle turtle.speed(0) turtle.up() turtle.circle(250,270) turtle.down() turtle.begin_fill() turtle.fillcolor(‘limegreen’) turtle.circle(250,180) turtle.left(90) turtle.fd(50) turtle.left(90) turtle.circle(-200,180) turtle.left(90) turtle.fd(50) turtle.end_fill() turtle.left(180) turtle.fd(50) turtle.right(90) turtle.begin_fill() turtle.fillcolor(‘red’) turtle.circle(200,180) turtle.left(90) turtle.fd(400) turtle.end_fill() turtle.up() turtle.goto(-130,230) turtle.down() turtle.begin_fill() turtle.fillcolor(‘black’) turtle.circle(25) turtle.end_fill() turtle.up() turtle.goto(-135,220) turtle.down() turtle.begin_fill() turtle.fillcolor(‘white’) turtle.circle(15) turtle.end_fill() turtle.up() turtle.goto(130,230) turtle.down() turtle.begin_fill() turtle.fillcolor(‘black’) turtle.circle(25) turtle.end_fill() turtle.up() turtle.goto(125,220) turtle.down() turtle.begin_fill() turtle.fillcolor(‘white’) turtle.circle(15) turtle.end_fill() turtle.up() turtle.pensize(10) turtle.goto(15,100) turtle.circle(15,270) turtle.down() turtle.circle(15,-180)
Clock Tick MarksClock Tick Marks 03/22/201903/22/2019 | J & J Coding AdventureJ & J Coding Adventure | 0 Comment Draw evenly space 60 clock tick marks as shown here. READ MOREREAD MORE
PetalPetal 03/21/201903/21/2019 | J & J Coding AdventureJ & J Coding Adventure | 0 Comment Draw a petal shape as shown. Trick here is use circle() function’s extent parameter to draw an arc of a circle and then call setheading() function with opposite (+180 degrees) READ MOREREAD MORE
Khan Academy Logo with Python TurtleKhan Academy Logo with Python Turtle 05/05/201905/05/2019 | JishnuJishnu | 0 Comment Draw the following Khan Academy Logo with Python Turtle. READ MOREREAD MORE
import turtle
turtle.speed(0)
turtle.up()
turtle.circle(250,270)
turtle.down()
turtle.begin_fill()
turtle.fillcolor(‘limegreen’)
turtle.circle(250,180)
turtle.left(90)
turtle.fd(50)
turtle.left(90)
turtle.circle(-200,180)
turtle.left(90)
turtle.fd(50)
turtle.end_fill()
turtle.left(180)
turtle.fd(50)
turtle.right(90)
turtle.begin_fill()
turtle.fillcolor(‘red’)
turtle.circle(200,180)
turtle.left(90)
turtle.fd(400)
turtle.end_fill()
turtle.up()
turtle.goto(-130,230)
turtle.down()
turtle.begin_fill()
turtle.fillcolor(‘black’)
turtle.circle(25)
turtle.end_fill()
turtle.up()
turtle.goto(-135,220)
turtle.down()
turtle.begin_fill()
turtle.fillcolor(‘white’)
turtle.circle(15)
turtle.end_fill()
turtle.up()
turtle.goto(130,230)
turtle.down()
turtle.begin_fill()
turtle.fillcolor(‘black’)
turtle.circle(25)
turtle.end_fill()
turtle.up()
turtle.goto(125,220)
turtle.down()
turtle.begin_fill()
turtle.fillcolor(‘white’)
turtle.circle(15)
turtle.end_fill()
turtle.up()
turtle.pensize(10)
turtle.goto(15,100)
turtle.circle(15,270)
turtle.down()
turtle.circle(15,-180)
Nice. It works!