Pergunta de entrevista da empresa Ushr

Q: How would you create a text file in Python?