Which of the following mode, when used in file opening statement in Python,…

PYQ KVS TGT/PGT 2023

Which of the following mode, when used in file opening statement in Python, generates an error, if the file does not exist ?

  1. A.

    a+

  2. B.

    r+

  3. C.

    w+

  4. D.

    a

Attempted by 1907 students.

Sign up free to check your answer

Sign up free

Explore the full course: Kvs Nvs Tier 2 Computer Science

Loading lesson…