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

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 meeting, networking, learning, and sharing knowledge.