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 Tutorial: Drawing Ovals with Python TurtleTutorial: Drawing Ovals with Python Turtle 03/27/201903/27/2019 | J & J Coding AdventureJ & J Coding Adventure | 0 Comment This tutorial is going to show how to draw a basic oval shape as shown below with Python Turtle. We are going to draw the red arc in the bottom 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 SnowmanSnowman 03/20/201903/20/2019 | IreneIrene | 0 Comment Draw a snowman! You can use circle() function with extent parameter to draw part of a circle. 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)
Tutorial: Drawing Ovals with Python TurtleTutorial: Drawing Ovals with Python Turtle 03/27/201903/27/2019 | J & J Coding AdventureJ & J Coding Adventure | 0 Comment This tutorial is going to show how to draw a basic oval shape as shown below with Python Turtle. We are going to draw the red arc in the bottom 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
SnowmanSnowman 03/20/201903/20/2019 | IreneIrene | 0 Comment Draw a snowman! You can use circle() function with extent parameter to draw part of a circle. 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!