1

What happens if you open a file in 'w' mode that already exists?

Correct Answer: It deletes the existing file content

Make the most of this question

This page focuses on one Python MCQs question from Programming. After checking the answer, return to the topic list to practice more or run a timed set.

Python MCQs MCQ: What happens if you open a file in 'w' mode that already exists? | Extra Education