On 7/10/2011 4:12 AM Robert H said...
Dear all,


I have Python 3.2 installed on Windows 7. I am a complete beginner
playing around with the basic functions. My problem is the following script:


name="world"
print("Hello", name,"!")

print("Hello", name+"!")

Alan mentioned using concatenation as well and "".join() is generally preferred, particularly when many strings are involved.

Emile


_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to