Programming and Problem Solving through Python : File Processing in Python

फ़ाइल खोलने के लिए निम्न में से कौन सा सही मोड नहीं है? , Which of the following is not a correct mode to open a file ?

Which of the following is not a correct mode to open a file ?




Solution
B. rw



Explanation
ab: append in binary format a+ : append and read mode r+: read and write mode, but "rw" is incorrect mode for opening a file in Python
CCC Online Test 2021 CCC Practice Test Hindi Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Exam Quiz Website development Company in Allahabad