On Tue, Mar 17, 2009 at 3:16 PM, Jared White <dukelx2...@gmail.com> wrote:

> howmany = int(raw_input('How many lines '))
> rhowmany = howmany
> strout = '*'
> while howmany > 0:
>     print strout
>     strout += '*'
>     howmany -= 1

Another hint: learn how to use the range() function and for loops:

In [1]: for i in range(4)
   ...:     print i

0
1
2
3

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

Reply via email to