input: Write a function to create a class that takes a string as an input and has a method to print that string.
  assert StringClass("Hello, World!").string == "Hello, World!"
  assert StringClass("").string == ""
  assert StringClass("Python").string == "Python"
output: def StringClass(input_string):
      class StringClass:
          def __init__(self, input_string):
              self.string = input_string
  
          def print_string(self):
              print(self.string)
  
      return StringClass(input_string)