Printing a text centered, it would be a newbie prob

Backflip Backflip at gmx.de
Tue Jun 4 04:12:35 EDT 2002


Hello World (= 
I´ve got a little problem, i want to put out an import string centert. For example:
for word in raw_input("bitte hier ihren text eingeben:").split():
   print word      

text=dies ist ein test

now the output looks like this

dies
ist
ein
test

but i want that it looks like this one

dies ist
ein test 

that both rows are simular to each other, could smb help me? 
Thanks
Backflip



More information about the Python-list mailing list