diff options
author | Max Schumacher <maximilianbschumacher@gmail.com> | 2020-07-07 12:26:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-07 12:26:49 +0200 |
commit | 85318d70e05182a352cbecdc6eb39b34fef488ea (patch) | |
tree | 2b2688e26b8b4b1a932f7f70ecb9710a6991af14 /python.html.markdown | |
parent | efb04d3183488926b5a5a339d618339db6ed1006 (diff) | |
parent | d56323d08ef43e1a38b4e75bec51c04ac342de1e (diff) |
Merge pull request #3951 from kuvam/patch-1
[python/en] Change string access example for clarity
Diffstat (limited to 'python.html.markdown')
-rw-r--r-- | python.html.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python.html.markdown b/python.html.markdown index 25798ade..ec89b53b 100644 --- a/python.html.markdown +++ b/python.html.markdown @@ -132,7 +132,7 @@ b == a # => True, a's and b's objects are equal "Hello " "world!" # => "Hello world!" # A string can be treated like a list of characters -"This is a string"[0] # => 'T' +"Hello world!"[0] # => 'H' # You can find the length of a string len("This is a string") # => 16 |