Question
Write a statement in Python to open a text file STORY.TXT, so that the new contents can be added at the end of it.

Answer

File = open("STORY.TXT","w")

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free