in reply to Spaces between outputs.

CPTQuesoXI:

Just change your print statement to add a space:

print "$i ";

...roboticus

When your only tool is a hammer, all problems look like your thumb.