input: from typing import List
  
  def StringCaseModifier(string):
      """
      A class to modify the case of the given string.
      >>> string_modifier = StringCaseModifier('Hello World')
      >>> string_modifier.to_upper()
      'HELLO WORLD'
      >>> string_modifier.to_lower()
      'hello world'
      >>> string_modifier.to_title()
      'Hello World'
      """
      def __init__(self, string):
          self.string = string
  
      def to_upper(self):
          return self.string.upper()
  
      def to_lower(self):
          return self.string.lower()
      
      def to_title(self):
          return self.string.title()
output:     def to_title(self):
          return self.string.title()