Description
Given a string s, return the string after replacing every uppercase letter with the same letter in lowercase. Use any method that converts to lowercase.
Examples
Input:
s = "Hello"Output:
"hello"Explanation:
Convert to lowercase.
Input:
s = "WoRlD"Output:
"world"Explanation:
Convert mixed case string to lowercase - all uppercase letters 'W', 'R', 'D' become lowercase while 'o', 'l' remain unchanged.
Input:
s = "ABC123"Output:
"abc123"Explanation:
Convert string containing both letters and numbers - only the uppercase letters 'A', 'B', 'C' are converted to lowercase while digits remain unchanged.
Constraints
- •
1 ≤ s.length ≤ 100