[python/en] Adding strings without + added.

This commit is contained in:
Sriram Sundarraj 2015-04-23 01:30:40 +05:30
parent 9dd6e173f7
commit 2ad26dd44a

View File

@ -101,6 +101,8 @@ not False # => True
# Strings can be added too!
"Hello " + "world!" # => "Hello world!"
# Strings can be added without using '+'
"Hello " "world!" # => "Hello world!"
# ... or multiplied
"Hello" * 3 # => "HelloHelloHello"