input: class StringCaseModifier:
      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()
  
  if __name__ == '__main__':
      test_string = 'Hello World'
      string_modifier = StringCaseModifier(test_string)
      print(string_modifier.to_upper())
      print(string_modifier.to_lower())
      print(string_modifier.to_title())
  
  """
  What is the output of the preceding code when run with the input 'Hello World'?
  >>> HELLO WORLD
  >>> hello world
  >>> Hello World
  """
output:     
      def to_swapcase(self):
          return self.string.swapcase()
  
      def to_capitalize(self):
          return self.string.capitalize()
  
  if __name__ == '__main__':
      test_string = 'Hello World'
      string_modifier = StringCaseModifier(test_string)
      print(string_modifier.to_upper())
      print(string_modifier.to_lower())
      print(string_modifier.to_title())
      print(string_modifier.to_swapcase())
      print(string_modifier.to_capitalize())
  
  """
  What is the output of the preceding code when run with the input 'Hello World'?
  >>> HELLO WORLD
  >>> hello world
  >>> Hello World
  >>> hELLO wORLD
  >>> Hello world
  """
  