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

> This is what i have so far an this is not what i want it to do
> "NO this isnt homework" i am trying to learn this myself
>
> #!/usr/bin/env python
> #
> #    Author: J White
> #    Python 2.5.2
> #
> howmany = int(raw_input('How many lines '))
> rhowmany = howmany
> strout = '*'
> while howmany > 0:
>     print strout
>     strout += '*'
>     howmany -= 1
>


try this:

mystr = "h"
print mystr*10

that should help.

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

Reply via email to