input: from typing import List
  
  def modify_string_case(string_list: List[str], case: str) -> List[str]:
      """ Modify the case of each string in the given list according to the specified case.
      Available cases are: 'upper', 'lower', 'title'.
      >>> modify_string_case(['Hello World', 'Python is Fun'], 'upper')
      ['HELLO WORLD', 'PYTHON IS FUN']
      >>> modify_string_case(['Hello World', 'Python is Fun'], 'lower')
      ['hello world', 'python is fun']
      >>> modify_string_case(['Hello World', 'Python is Fun'], 'title')
      ['Hello World', 'Python Is Fun']
      """
      if case not in ['upper', 'lower', 'title']:
          raise ValueError("Invalid case type. Choose from 'upper', 'lower', 'title'.")
      
      modified_list = []
      for string in string_list:
          if case == 'upper':
              modified_list.append(string.upper())
          elif case == 'lower':
              modified_list.append(string.lower())
          elif case == 'title':
              modified_list.append(string.title())
      
      return modified_list
output:     if case not in ['upper', 'lower', 'title']:
          raise ValueError("Invalid case type. Choose from 'upper', 'lower', 'title'.")
      
      modified_list = []
      for string in string_list:
          if case == 'upper':
              modified_list.append(string.upper())
          elif case == 'lower':
              modified_list.append(string.lower())
          elif case == 'title':
              modified_list.append(string.title())
      
      return modified_list