[Tutor] print command

Shitiz Bansal shitizb at yahoo.com
Mon Mar 21 08:38:41 CET 2005


Now this is so basic, i am feeling sheepish asking
about it.
I am outputting to the terminal, how do i use a print
command without making it jump no newline after
execution, which is the default behaviour in python.
To clarify:

print 1
print 2
print 3

I want output to be 

123

whereas by default it is
1
2
3

.

Shitiz 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the Tutor mailing list