Skip to content

Commit d219a3c

Browse files
Update capitalize.py
1 parent 743f95a commit d219a3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

strings/capitalize.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
def capitalize(sentence: str) -> str:
22
"""
3-
Capitalizes the first character of the string if it is a lowercase letter.
3+
Capitalizes the first letter of a sentence or word.
44
55
>>> capitalize("hello world")
66
'Hello world'

0 commit comments

Comments
 (0)