Python Forum
Turtle Graphics Help - Filling each shape in
Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Turtle Graphics Help - Filling each shape in
#11
(Nov-26-2018, 05:23 PM)ichabod801 Wrote: As I already said, and illustrated, you need to move the begin_fill and end_fill commands outside the loops. You are currently starting and ending the fill for each side. So each side is filled, but not the whole figure. You need to start the fill before you draw any sides (before the loop) and end the fill after you have drawn all of the side (after the loop).

ty
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Project 4 Shape Calculator FreeCodeCamp btownboy 5 2,880 Sep-14-2020, 01:38 AM
Last Post: btownboy
  python idle turtle graphics help jojo 5 4,055 Apr-14-2019, 12:28 PM
Last Post: ichabod801
  Turtle Graphics Card Values in a List Muzz 0 2,377 Apr-11-2019, 12:55 PM
Last Post: Muzz
  why is this not filling my empty list? Siylo 4 3,230 Jan-21-2019, 05:27 PM
Last Post: Siylo
  ValueError: shape mismatch: value array of shape... ulrich48155 2 23,825 Jul-10-2017, 02:17 PM
Last Post: ulrich48155

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020