# UCLA ACM ICPC: Interview Track Leetcode Problem Solutions

# Disclaimer: This is not the only valid solution and we do not claim our solutions 
# to be optimal in terms of runtime or memory usage, we are merely giving example 
# solutions to questions for learning purposes only

# To Lower Case
# Leetcode Problem 709
# https://leetcode.com/problems/to-lower-case/

class Solution(object):
    def toLowerCase(self, str):
        """
        :type str: str
        :rtype: str
        """

        # Warning: You are about to enter a Python magic zone

        # Python has a built-in function that automatically
        # changes all the characters in a string to lowercase


        # Cue Python magic
        return str.lower()