josharsh / josharsh/OPython-Init
FormatStringInput.py does not fully explain how to use .capitalize()
Open
- Dominant language
- Python
- Stars
- 165
- Forks
- 196
- PR merge metrics
- No merged PRs in 30d
Description
So, what the above mentioned file does not include, is an explanation of how .capitalize() works. It does two things: first, it will capitalize the first character, as long as it is a letter. If you try to call the method on something that has a blank space or a number or any non-letter character as the first character, it will not work. Second, it will convert all other letters to lowercase.
Contributor guide
Assessment
This issue has not been assessed yet.