To lower case
Implement function ToLowerCase() that has a string parameter str, and returns the same string in lowercase.
Example 1:
Example 2:
Example 3:
Last updated
Was this helpful?
Implement function ToLowerCase() that has a string parameter str, and returns the same string in lowercase.
Example 1:
Example 2:
Example 3:
Last updated
Was this helpful?
Was this helpful?
Input: "Hello"
Output: "hello"Input: "here"
Output: "here"Input: "LOVELY"
Output: "lovely"