"Daniele" <d.co...@gmail.com> wrote

********* I cant get a code to work for this bottom half, Can anyone help me

OK, since we've started giving solutions...

Hi Jared, try this:

for i in range(-10,11):
   print '*'*(11-abs(i))

This is simpler using

for n in range (10,0,-1):
    print '*' * n

HTH,

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

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to