input: Write a function to filter out strings from a given list that are longer than 5 characters. Return the filtered list.
  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(['apple', 'banana', 'cherry', 'date']) == ['banana', 'cherry']
  assert filter_long_strings(['a', 'ab', 'abc', 'abcd', 'abcde', 'abcdef']) == ['abcdef']
  assert filter_long_strings([]) == []
  assert filter_long_strings(['short', 'shorter', 'longest']) == ['shorter', 'longest']
output: def filter_long_strings(string_list):
      long_strings = []
      for string in string_list:
          if len(string) > 5:
              long_strings.append(string)
      return long_strings