(Hackerrank) HackerRank Python Certification Practice Test
Hackerrank File I/O and Exception Handling 4
What does the `seek(0)` method do on a file object?
Select your answer
A
Closes the file and reopens it
B
Moves the file cursor to the beginning
C
Reads the first line of the file
D
Truncates the file to zero bytes
Hint
✨ Remove Ads & Unlock Every Exam
— From $1.49
🃏 HACKERRANK Flashcards — Study This Quiz as Flip Cards →
📚 Want to go deeper? Read the Full HACKERRANK Study Guide →