input: Write a function to filter out strings from a given list that are longer than 5 characters. Return the list of filtered strings.
  
  def filter_long_strings(string_list):
      long_strings = []
      for string in string_list:
          if len(string) > 5:
              long_strings.append(string)
      return long_strings
  
  assert filter_long_strings(['Python', 'is', 'Fun'])==['Python']
  assert filter_long_strings(['hello', 'world', 'ai'])==['hello', 'world']
  assert filter_long_strings([])==[]
  assert filter_long_strings(['short', 'longerthan5', 'medium'])==['longerthan5']
  assert filter_long_strings(['lengthy', 'tiny', 'extended'])==['lengthy', 'extended']
output: def filter_long_strings(string_list):
      return [s for s in string_list if len(s) > 5]