# question can be found on leetcode.com/problems/to-lower-case/
# one-liner answer would be string.lower(), but I didn't include that since,
# one-liners are not always desirable


class Solution:
    def toLowerCase(self, string: str) -> str:
        final_str = ""
        for char in string:
            if char.islower():
                final_str += char
            else:
                final_str += char.lower()
        return final_str

e7746a50a7c5389814b364aeec144f290529527a
<mask token>

class Solution:
    <mask token>

class Solution:

    def toLowerCase(self, string: str) ->str:
        final_str = ''
        for char in string:
            if char.islower():
                final_str += char
            else:
                final_str += char.lower()
        return final_str

# question can be found on leetcode.com/problems/to-lower-case/
# one-liner answer would be string.lower(), but I didn't include that since,
# one-liners are not always desirable


class Solution:
    def toLowerCase(self, string: str) -> str:
        final_str = ""
        for char in string:
            if char.islower():
                final_str += char
            else:
                final_str += char.lower()
        return final_str
