Merge pull request #1048 from srirams6/master

[python/en] Adding strings without + added.
This commit is contained in:
Levi Bostian 2015-04-22 15:10:25 -05:00
commit 2ae6322bf6

View File

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