summaryrefslogtreecommitdiffhomepage
path: root/python.html.markdown
diff options
context:
space:
mode:
authorSriram Sundarraj <sriram.s.1994@gmail.com>2015-04-23 01:30:40 +0530
committerSriram Sundarraj <sriram.s.1994@gmail.com>2015-04-23 01:30:40 +0530
commit2ad26dd44a9129aade696ac64d9d6ae1a1f6a98b (patch)
treec371f102a6673ad58498308baba74f79f76c856c /python.html.markdown
parent9dd6e173f711782ee2beb91a7ca69efde75fe6ae (diff)
[python/en] Adding strings without + added.
Diffstat (limited to 'python.html.markdown')
-rw-r--r--python.html.markdown2
1 files changed, 2 insertions, 0 deletions
diff --git a/python.html.markdown b/python.html.markdown
index 478804cd..63547bf6 100644
--- a/python.html.markdown
+++ b/python.html.markdown
@@ -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"