Re: [Tutor] Polygon fill in turtle

2018-03-27 Thread Alan Gauld via Tutor
On 27/03/18 22:10, Roger Lea Scherer wrote: > outlineColor = input("What color would you like for the outline?") > filler = input("And what color would you like to fill it with? ") > > hadir.begin_fill() > hadir.color(outlineColor) > print(filler) > for i in range(sides): > hadir.forward(leng

[Tutor] Polygon fill in turtle

2018-03-27 Thread Roger Lea Scherer
I looked at Stackoverflow, followed, but could not succeed. I want to fill the polygon with a different color than the pen color. When I print out the filler it is the correct color, but the actual fill is not. Here it is: (tada!) # create a user-defined polygon import turtle wn = turtle.Screen(