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 PopsiclePopsicle 03/29/201903/29/2019 | IreneIrene | 2 Comments Draw a popsicle! READ MOREREAD MORE 8 of Diamonds8 of Diamonds 02/27/201902/27/2019 | J & J Coding AdventureJ & J Coding Adventure | 0 Comment Find unicode of diamond symbol and draw the 8 of diamonds. READ MOREREAD MORE TriacontagonTriacontagon 02/26/201902/26/2019 | J & J Coding AdventureJ & J Coding Adventure | 0 Comment In a level 1 project, you are asked to draw a hexagon (https://pythonturtle.academy/hexagon/). Use a loop to draw Triacontagon (a polygon with 30 sides). Does it almost look like a 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)
8 of Diamonds8 of Diamonds 02/27/201902/27/2019 | J & J Coding AdventureJ & J Coding Adventure | 0 Comment Find unicode of diamond symbol and draw the 8 of diamonds. READ MOREREAD MORE
TriacontagonTriacontagon 02/26/201902/26/2019 | J & J Coding AdventureJ & J Coding Adventure | 0 Comment In a level 1 project, you are asked to draw a hexagon (https://pythonturtle.academy/hexagon/). Use a loop to draw Triacontagon (a polygon with 30 sides). Does it almost look like a 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!