Computer Science

Which of the following mode in file opening statement results or generates an error if the file does not exist ?

  1. a+
  2. r+
  3. w+
  4. None of these

Python File Handling

2 Likes

Answer

r+

Reason — r+ mode in file opening statement results or generates an error if the file does not exist.

Answered By

2 Likes


Related Questions