Re: [Tutor] Quick question about definitions.

2012-11-17 Thread Steven D'Aprano
On 17/11/12 04:28, sillywilly98 wrote: I know this code is not fully debugged. I just cant see why 1 definition is wrong. Please don't send screen shots if you don't need to. In this case, the screen shot adds nothing, and turns this into a "

Re: [Tutor] Quick question about definitions.

2012-11-17 Thread Dave Angel
On 11/16/2012 12:28 PM, sillywilly98 wrote: > I know this code is not fully debugged. I just cant see why 1 definition is > wrong. > Here is the code: > # This program draws a robot. > > from turtle import * > > def draw_eyes(): > # This fu

Re: [Tutor] Quick question about definitions.

2012-11-17 Thread eryksun
On Fri, Nov 16, 2012 at 12:28 PM, sillywilly98 wrote: > > I know this code is not fully debugged. I just cant see why 1 definition is > wrong. You have several typos (there may be more): draw_eyes: end_fill(() draw_nose: end_fill(()

[Tutor] Quick question about definitions.

2012-11-17 Thread sillywilly98
I know this code is not fully debugged. I just cant see why 1 definition is wrong. Here is the code: # This program draws a robot. from turtle import * def draw_eyes(): # This function penup() color("purple") goto(-50, 200)