While loop - print several times but on 1 line.

Danny dannybuck1 at gmail.com
Thu Jan 26 12:01:28 CET 2006


Great! It's been solved.

The line, as Glaudio said has a "," at the end and that makes it go onto 
one line, thanks so much man!

var = 0
while <= 5:
	print a[t[var]],
	var = var +1
prints perfectly, thanks so much guys.



More information about the Python-list mailing list