167. To Lower Case

EasyStringString

Given a string s, return the string with all uppercase English letters converted to lowercase.

Input: A single string s.

Output: The string with all characters converted to lowercase.

Examples

Example 1
Input: Hello
Output: hello
Explanation: H→h, rest unchanged.
Example 2
Input: LOVELY
Output: lovely
Explanation: All uppercase → all lowercase.
Example 3
Input: already
Output: already
Explanation: No uppercase chars; string unchanged.

Constraints

Asked by

MetaGoogleMicrosoft
Solve this problem in the editor →