हिंदी

If we open an existing file in the ______ mode the previous data will be erased and the file object will be positioned at the beginning of the file.

Advertisements
Advertisements

प्रश्न

If we open an existing file in the ______ mode the previous data will be erased and the file object will be positioned at the beginning of the file.

विकल्प

  • read

  • append

  • write

  • append and write

MCQ
रिक्त स्थान भरें
Advertisements

उत्तर

If we open an existing file in the write mode the previous data will be erased and the file object will be positioned at the beginning of the file.

shaalaa.com
Writing to a Text File in Python
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×