Yes, this seems to be an error, and also the function output_text does not writes the `text` parameter in the file `output.txt` , it will juste write "str". For me, the function would be : ```py def output_text(text) : with open("output.txt", "a") as file : file.write(text) file.close() ```
you can remove the file.close() line from the context manager