@@ -0,0 +1,660 @@
+# Implement function ToLowerCase() that has a string parameter str, and returns the same string in lowercase.%0A# https://leetcode.com/problems/to-lower-case/%0A%0A%0Aimport pytest%0A%0A%0Aclass Solution:%0A    def toLowerCase(self, str: str) -%3E str:%0A        lower = %22%22%0A        for i in str:%0A            ordVal = ord(i)%0A            if ordVal %3E= 65 and ordVal %3C= 90:%0A                lower += chr(ordVal + 32)%0A            else:%0A                lower += i%0A        return lower%0A%0A%0A@pytest.mark.parametrize(%0A    (%22str%22, %22expected%22), %5B(%22aAbB%22, %22aabb%22), (%22aabb%22, %22aabb%22), (%22a1@B%22, %22a1@b%22)%5D%0A)%0Adef test_basic(str: str, expected: str):%0A    assert expected == Solution().toLowerCase(str)%0A

solution to convert a string to lower