mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-05 09:21:13 +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,14 +1,14 @@
|
||||
def upper(word: str) -> str:
|
||||
"""
|
||||
Will convert the entire string to uppercase letters
|
||||
|
||||
"""
|
||||
Will convert the entire string to uppercase letters
|
||||
|
||||
>>> upper("wow")
|
||||
'WOW'
|
||||
>>> upper("Hello")
|
||||
'HELLO'
|
||||
>>> upper("WHAT")
|
||||
'WHAT'
|
||||
|
||||
|
||||
>>> upper("wh[]32")
|
||||
'WH[]32'
|
||||
"""
|
||||
|
Reference in New Issue
Block a user