While loop - print several times but on 1 line.

Danny dannybuck1 at gmail.com
Thu Jan 26 05:51:22 EST 2006

I think I should paste some of the programs code a little more of what I 

var = 0
while var <= 5:
     print a[t[var]]
     var = var +1

a is a dectionary (very big) and t is a string of text. (if that's 
important right now).

I'm just trying to make the value of a[t[var]] print on one line if that 
makes any sense...
Sorry if I'm not explaining this very well and if my examples aren't 
very good, I am trying.

More information about the Python-list mailing list