fix: snippets reserved name shadowing

This commit is contained in:
Arpit Solanki
2018-03-08 12:02:57 +05:30
parent b011d16324
commit 5ea239aad5
3 changed files with 5 additions and 6 deletions

View File

@ -5,8 +5,8 @@ Checks if a string is lower case.
Convert the given string to lower case, using `str.lower()` method and compare it to the original.
```python
def is_lower_case(str):
return str == str.lower()
def is_lower_case(string):
return string == string.lower()
```
```python