code: def save_texts(fname:PathOrStr, texts:Collection[str]):
      "Save in `fname` the content of `texts`."
      with open(fname, 'w') as f:
          for t in texts: f.write(f'{t}\n'f save_texts(fname:PathOrStr, texts:Collection[str]):
      "Save in `fname` the content of `texts`."
      with open(fname, 'w') as f:
          for t in texts: f.write(f'{t}\n')
docs: Save in `fname` the content of `texts`.