Question
Nancy intends to position the file pointer to the beginning of a text file. Write Python statement for the same assuming F is the Fileobject.

Answer

F.seek(0)

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