I've created a program with turtle graphics that has 3 functions. One draws rectangles, one draws squares and one sets the position.

I'd like to create a function that fills in the shapes with different colours. I know about begin fill and end fill... but I would really like to create a function that does it. Any help would be appreciated!

Recommended Answers

What have you written so far?

Jump to Post

All 2 Replies

What have you written so far?

hi i am new to this community...i'm just learning python and has to create a tool for imaging in python...i think that in need to create functions to draw objects in python and functions to paint them...can anyone help me out,pls??

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.