Merge pull request #3673 from laszlokiraly/patch-1

[python/en] don't overwrite list function
This commit is contained in:
Divay Prakash 2020-01-11 14:04:25 +05:30 committed by GitHub
commit ef6dd28625
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
"""