mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-05 17:34:49 +08:00
Tighten up psf/black and flake8 (#2024)
* Tighten up psf/black and flake8 * Fix some tests * Fix some E741 * Fix some E741 * updating DIRECTORY.md Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
This commit is contained in:
@ -1,15 +1,15 @@
|
||||
def lower(word: str) -> str:
|
||||
|
||||
"""
|
||||
Will convert the entire string to lowecase letters
|
||||
|
||||
"""
|
||||
Will convert the entire string to lowecase letters
|
||||
|
||||
>>> lower("wow")
|
||||
'wow'
|
||||
>>> lower("HellZo")
|
||||
'hellzo'
|
||||
>>> lower("WHAT")
|
||||
'what'
|
||||
|
||||
|
||||
>>> lower("wh[]32")
|
||||
'wh[]32'
|
||||
>>> lower("whAT")
|
||||
|
Reference in New Issue
Block a user