[Tutor] Problem with turtle

Alan Gauld alan.gauld at btinternet.com
Thu Mar 11 19:26:06 CET 2010


"Marco Rompré" <marcodrompre at gmail.com> wrote

> Hi! I am relatively new to python and turtle and I really need your help.

Thats what we are hee for but....

> Here's my code: ignore my comments

n=0
while n < 10 :
    down()                         # abaisser le crayon
    carre(25, 'yellow', 0)         # tracer un carré
    up()
    forward(30)
    triangle(90, 'blue',0)
n = n + 1


> If I am to vague I wanted to do successfully exercise 7.6 in Gérard 
> Swinnen
> tutorial for Python
>
> It was supposed to look like this

So what happens? Is there an error message or does it just draw
the wrong thing? Don't make us guess...



-- 
Alan Gauld
Author of the Learn to Program web site
http://www.alan-g.me.uk/ 




More information about the Tutor mailing list