input: Write a function to filter out all strings in a given list that are longer than 5 characters and 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
  
  string_list = ['Python', 'is', 'Fun']
  assert filter_long_strings(string_list) == ['Python']
  string_list = ['Hello', 'Bye', 'Hi']
  assert filter_long_strings(string_list) == ['Hello', 'Bye']
  string_list = ['Short', 'Tiny', 'Small', 'LongWord']
  assert filter_long_strings(string_list) == ['LongWord']
  string_list = ['A']
  assert filter_long_strings(string_list) == []
  string_list = ['This', 'is', 'a', 'test']
  assert filter_long_strings(string_list) == ['This']
  string_list = []
  assert filter_long_strings(string_list) == []
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