Hello there.

I'm creating a little text changer in Python. In the program there is a 
while loop. The problem is that a while loop will have 1 print statement 
  and it will loop until it gets to the end of the text.
Example:

num = 5 // Set num to 5
while num >= 1: // loop 5 times.
        print """text"""
        num = num-1
// end.

The programs output will be:
text
text
(etc)

How could I make this print: texttexttexttexttext?
Ive researched and looked through google and so far I can't find 
anything that will help (or revelent for that matter).

Thanks for looking.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to