What a weird thing !!?

Florent Ramière framiere at netcom-service.com
Fri Feb 18 21:35:56 CET 2000


Hello,

    here is something i do not understand ...

    Let's say i want to write two strings which must display "HELLO"
    2 solutions to this problem:
    print "HEL" + "LO"

    or
    print "HEL",
    print "LO",

    But this last solutions does not work !! Python inserts a white space
!?

    I wanted "HELLO", python give me "HEL LO" !!!!

    I certainly have missed something, could you help me on this ?


Thanks for reading this .
Florent.
--
----
Florent Ramière framiere at netcom-service.com
Netcom http://www.netcom-service.com
15, rue de Rémusat - 75016 Paris
Tel : 06-60-61-85-32 ---  Fax : 01-42-30-50-55






More information about the Python-list mailing list