[Tutor] (no subject)
W W
srilyk at gmail.com
Tue Mar 17 20:52:48 CET 2009
On Tue, Mar 17, 2009 at 2:16 PM, Jared White <dukelx2005 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20090317/b6bbcbee/attachment.htm>
More information about the Tutor
mailing list