summaryrefslogtreecommitdiffhomepage
path: root/python3.html.markdown
diff options
context:
space:
mode:
Diffstat (limited to 'python3.html.markdown')
-rw-r--r--python3.html.markdown2
1 files changed, 2 insertions, 0 deletions
diff --git a/python3.html.markdown b/python3.html.markdown
index 56126ad3..6c5e1059 100644
--- a/python3.html.markdown
+++ b/python3.html.markdown
@@ -101,6 +101,8 @@ False or True #=> True
# Strings can be added too! But try not to do this.
"Hello " + "world!" # => "Hello world!"
+# Strings can be added without using '+'
+"Hello " "world!" # => "Hello world!"
# A string can be treated like a list of characters
"This is a string"[0] # => 'T'