1# approach -12class Solution:3 def toLowerCase(self, s: str) -> str:4 ch = ""5 for i in s:6 asc = ord(i)7 if asc > 64 and asc < 91:8 ch += chr(asc + 32)9 else:10 ch += chr(asc)11 return ch121314# approach -215class Solution:16 return s.lower()
WPM •0 •0
ACC •0 •0
TIME •0