input: Write a function to reverse each string in a list of strings.
  assert reverse_list(['hello', 'world', 'example']) == ['olleh', 'dlrow', 'elpmaxe']
  assert reverse_list(['python', 'programming', 'is', 'fun']) == ['nohtyp', 'gnimmargorp', 'si', 'nuf']
  assert reverse_list(['racecar', 'madam', 'level']) == ['racecar', 'madam', 'level']
output: def reverse_list(strings):
      return [s[::-1] for s in strings]