Remove Uppercase Letters
EasyP3Coding
Return s with every uppercase English letter (A-Z) removed. All other characters stay, in the same order.
Example 1
- Input
- s = "Hello World"
- Output
- "ello orld"
Example 2
- Input
- s = "ABC"
- Output
- ""
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 10. ⌘Enter runs, ⌘⇧Enter submits.