"Jared White" <dukelx2...@gmail.com> wrote
howmany = int(raw_input('How many lines '))
rhowmany = howmany

what does rhowmany do?

strout = '*'
while howmany > 0:
   print strout
   strout += '*'
   howmany -= 1

Combine the two hints so far to improve it, then look even more closely at range() to see how to do the decreasing lengths.


--
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