To Lower Case
EasyP3Coding
Return s with every uppercase English letter A-Z converted to lowercase. All other characters stay as they are.
Example 1
- Input
- s = "Hello"
- Output
- "hello"
Example 2
- Input
- s = "ABC"
- Output
- "abc"
Example 3
- Input
- s = "abc"
- Output
- "abc"
Constraints
- 0 <= s.length <= 10^5
- s contains printable ASCII characters.
Hints
Give it a real attempt first. Run shows which examples fail.
Saved automatically
Run checks the 3 visible tests, Submit all 11. ⌘Enter runs, ⌘⇧Enter submits.