Popsicle 03/29/201903/29/2019 | IreneIrene | 2 Comments | 9:37 pm Categories: Difficulty Level 2 Draw a popsicle! Popsicle with Python Turtle Tags: basics 2 thoughts on “Popsicle” import turtle turtle.speed(0) turtle.pensize(7.5) turtle.begin_fill() turtle.fillcolor(‘bisque’) turtle.right(90) turtle.fd(70) turtle.circle(10,180) turtle.fd(70) turtle.left(90) turtle.fd(20) turtle.end_fill() turtle.begin_fill() turtle.fillcolor(‘pink’) turtle.fd(100) turtle.left(180) turtle.fd(220) turtle.left(90) turtle.fd(250) turtle.circle(110,180) turtle.fd(250) turtle.end_fill() Great. Looks good! Comments are closed. Post navigation PREVIOUS Previous post: Happy Egg HeadsNEXT Next post: Watermelon Related Post Concentric CirclesConcentric Circles 02/26/201902/26/2019 | J & J Coding AdventureJ & J Coding Adventure | 0 Comment In this project, you practice loop and defining custom functions. Draw the following shape with a for loop. Define a function draw_circle(x,y,r), which draws a circle centered at (x,y) and READ MOREREAD MORE Blue CarBlue Car 04/17/201904/17/2019 | Kevin XuKevin Xu | 0 Comment Draw a blue as seen here: READ MOREREAD MORE Football Shape with Python TurtleFootball Shape with Python Turtle 08/18/202008/18/2020 | J & J Coding AdventureJ & J Coding Adventure | 0 Comment Draw a football shape as shown with Turtle’s circle function. Code: READ MOREREAD MORE
import turtle turtle.speed(0) turtle.pensize(7.5) turtle.begin_fill() turtle.fillcolor(‘bisque’) turtle.right(90) turtle.fd(70) turtle.circle(10,180) turtle.fd(70) turtle.left(90) turtle.fd(20) turtle.end_fill() turtle.begin_fill() turtle.fillcolor(‘pink’) turtle.fd(100) turtle.left(180) turtle.fd(220) turtle.left(90) turtle.fd(250) turtle.circle(110,180) turtle.fd(250) turtle.end_fill()
Concentric CirclesConcentric Circles 02/26/201902/26/2019 | J & J Coding AdventureJ & J Coding Adventure | 0 Comment In this project, you practice loop and defining custom functions. Draw the following shape with a for loop. Define a function draw_circle(x,y,r), which draws a circle centered at (x,y) and READ MOREREAD MORE
Blue CarBlue Car 04/17/201904/17/2019 | Kevin XuKevin Xu | 0 Comment Draw a blue as seen here: READ MOREREAD MORE
Football Shape with Python TurtleFootball Shape with Python Turtle 08/18/202008/18/2020 | J & J Coding AdventureJ & J Coding Adventure | 0 Comment Draw a football shape as shown with Turtle’s circle function. Code: READ MOREREAD MORE
import turtle
turtle.speed(0)
turtle.pensize(7.5)
turtle.begin_fill()
turtle.fillcolor(‘bisque’)
turtle.right(90)
turtle.fd(70)
turtle.circle(10,180)
turtle.fd(70)
turtle.left(90)
turtle.fd(20)
turtle.end_fill()
turtle.begin_fill()
turtle.fillcolor(‘pink’)
turtle.fd(100)
turtle.left(180)
turtle.fd(220)
turtle.left(90)
turtle.fd(250)
turtle.circle(110,180)
turtle.fd(250)
turtle.end_fill()
Great. Looks good!