diff options
author | Geoff Liu <cangming.liu@gmail.com> | 2015-04-22 15:45:21 -0600 |
---|---|---|
committer | Geoff Liu <cangming.liu@gmail.com> | 2015-04-22 15:45:21 -0600 |
commit | 04eed19763b7aad50318212f96e98860a38735af (patch) | |
tree | 6b23735492b183d6d4f5ca807ca314a5a2c2a482 /python3.html.markdown | |
parent | 2ae6322bf6a889093086661162fa92f7c306efd7 (diff) | |
parent | d20eb1fb94c819283e610bbd9f1cf3cea834da46 (diff) |
Merge pull request #1050 from srirams6/master
[python3/en] Adding strings without + added.
Diffstat (limited to 'python3.html.markdown')
-rw-r--r-- | python3.html.markdown | 2 |
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' |