#709
To Lower Case
newbie · 200 · lc easy +16 · verified · 84.7% accepted · 2,035 likes · top 96%
Description
Given a string s, convert every uppercase letter to its lowercase equivalent and return the transformed string.
Example 1:
Input: s = "Hello"
Output: "hello"
Example 2:
Input: s = "here"
Output: "here"
Example 3:
Input: s = "LOVELY"
Output: "lovely"
Code
1
2
3