summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDivay Prakash <divayprakash@users.noreply.github.com>2020-01-11 14:04:25 +0530
committerGitHub <noreply@github.com>2020-01-11 14:04:25 +0530
commitef6dd286251a18780dd1fe117f9058437fc19128 (patch)
tree6c097ba971c5f2963a2a894cff56871d4d0543db
parent4aa0f5d5e3c73e61fef7f2ab10d886aa9023e4fe (diff)
parent898d9d43a3f70a55882542dcc9e907f345ab374f (diff)
Merge pull request #3673 from laszlokiraly/patch-1
[python/en] don't overwrite list function
-rw-r--r--python3.html.markdown4
1 files changed, 2 insertions, 2 deletions
diff --git a/python3.html.markdown b/python3.html.markdown
index d09c2819..6e8d2460 100644
--- a/python3.html.markdown
+++ b/python3.html.markdown
@@ -467,8 +467,8 @@ prints:
1 cat
2 mouse
"""
-list = ["dog", "cat", "mouse"]
-for i, value in enumerate(list):
+animals = ["dog", "cat", "mouse"]
+for i, value in enumerate(animals):
print(i, value)
"""