About 32,500 results
Open links in new tab
  1. How to draw a circle using turtle in python? - Stack Overflow

    Nov 2, 2020 · I wanted ask how can I draw a circle using turtle module in python just using turtle.forward and turtle.left? I use the code below: for i in range(30): turtle.forward(i) …

  2. I want to fill circles with different colors using array in turtle python

    Mar 13, 2019 · I made 4 circles like that using hardcode for each circle, but it's not efficient. this is my code, but I am confused how to access the array of color & the array of coordinate x …

  3. How can I fill in my Shape in Python with Turtle? [closed]

    Apr 10, 2022 · I would like to fill in my Shape that I have created with the turtle module in python. I have figured out the outlines and the Turtle itself, but I don`t know how to color in the finished …

  4. python - Turtle graphics, draw a filled star? - Stack Overflow

    Dec 21, 2023 · To get a 5 pointed star, you should draw 2 lines for each side. The angles need to add to 72 (360/5) import turtle def draw_star(size, color): angle = 120 turtle.fillcolor(color) …

  5. Python Turtle transparent fill? - Stack Overflow

    Nov 13, 2020 · I'm trying to recreate this picture using the Turtle library: but I'm struggling when trying to make the inner circles 'transparent'. I searched the documentation but found no way …

  6. How Can I Fill These Squares in Turtle - Python - Stack Overflow

    Sep 17, 2012 · I've tried moving around turtle.begin_fill() and end_fill() in numerous locations with no luck… Using Python 3.2.3, thanks. Using Python 3.2.3, thanks. python

  7. Python turtle color not filling in properly - Stack Overflow

    Nov 10, 2018 · I'm a beginner in programming and I'm trying to draw Totoro from the ghibli movie but the body won't fill properly. Here is the drawing I'm trying to do, with this colors , but this is …

  8. python - different fill and border using turtle - Stack Overflow

    Mar 13, 2013 · I want the pen colour to be black, but the fill to be another colour. I have defined a function drawhouse() which includes this function, and before this, the pen colour is set to …

  9. How to fill with multiple color in Python using turtle module?

    Jun 13, 2015 · I am pretty new in Python, now trying to have fun with it before going into serious stuffs. I am trying to draw a simple one wheel cart type something, where body and cart will …

  10. python - Turtle graphic not running? - Stack Overflow

    Aug 26, 2022 · Python uses indentation to determine control flow and scope so it's critical to get right. Also I see you're never a Turtle like via t = turtle.Turtle() for instance. Maybe start way …

Refresh