We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 743f95a commit d219a3cCopy full SHA for d219a3c
strings/capitalize.py
@@ -1,6 +1,6 @@
1
def capitalize(sentence: str) -> str:
2
"""
3
- Capitalizes the first character of the string if it is a lowercase letter.
+ Capitalizes the first letter of a sentence or word.
4
5
>>> capitalize("hello world")
6
'Hello world'
0 commit comments