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())
  
  
  The code above defines a class `StringCaseModifier` that has methods to modify the case of a given string. Create a problem statement that requires implementing this class and testing its methods. The output for the provided test string, "Hello World," should be:
  - for `to_upper`: "HELLO WORLD"
  - for `to_lower`: "hello world"
  - for `to_title`: "Hello World"
output:     
      def to_swapcase(self):
          return self.string.swapcase()
  
  if __name__ == '__main__':
      test_string = 'Hello World'
      string_modifier = StringCaseModifier(test_string)
      print(string_modifier.to_upper())  # Output: "HELLO WORLD"
      print(string_modifier.to_lower())  # Output: "hello world"
      print(string_modifier.to_title())  # Output: "Hello World"
      print(string_modifier.to_swapcase())  # Output: "hELLO wORLD"
  