To Lowercase Problem
To Lowercase Problem — ExecCode Easy DSA Practice
Solve the To Lowercase problem on ExecCode. Free online easy DSA practice in Strings - Basics. Write and run code in Java, C++, Python — no signup required to run.
Problem description
Description You are given a string s, return the string after replacing every uppercase letter with the same lowercase letter.
Examples
Input {"s": "HELLO"}; Output hello. Input {"s": "Code123"}; Output code123. Input {"s": "HeLlO"}; Output hello
Constraints
1 <= s.length <= 100 s consists of printable ASCII characters.
Practice To Lowercase free on ExecCode. Browse DSA problems, topic map, and placement guides.