Please please help I don’t understand this

Answer:
outFile.close()
Explanation:
You already opened the outFile by specifying open("fruitNew.txt", "w").
If you wanted to do outFile.done() you'd have to add a method, which you don't have.
Once you open, you want to do .close(), otherwise, it'll either run endlessly or output an error at some point.