Creating colour pen on python
Asked by
rob brown
creating pen colour in python 2.7
I am just a beginer and am having trouble creating pen colour for drawing three circles
This is my code
circle (50)
penup ()
goto (100,150)
colour =('blue')
pendown ()
circle (10)
penup ()
goto (-100,150)
colour =('green')
pendown ()
circle (40)
penup()
hideturtle ()
exitonclick ()
Where am I going wrong?
I am also trying to fill some circles
Here is my code
colour = ('green')
begin_fill ()
circle (100)
end_fill ()
Where am I going wrong??
Cheers
Rob
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask rob brown for more information if necessary.
To post a message you must log in.