From d56323d08ef43e1a38b4e75bec51c04ac342de1e Mon Sep 17 00:00:00 2001 From: Kuv Date: Thu, 4 Jun 2020 12:41:35 +0530 Subject: [PATCH] Change string access example for clarity 'T' was apparently mistaken by someone for True, so this is a minor edit to use a different example to make sure that doesn't happen again. --- python.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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