ExamPlay Light Logo
दाखिल करना

Computer Science for IGCSE & O level - Programming (Section 12 - No. 26)

In the context of file handling, what does the 'w' mode signify when opening a file (e.g., `myFile = open('example.txt', 'w')`)?
Read mode
Write mode
Append mode
Binary mode

स्पष्टीकरण

'w' stands for write mode. This allows you to write content to a file. If the file doesn't exist, it is created; if it exists, its content is overwritten.

टिप्पणियाँ (0)

टिप्पणी करने के लिए लॉगिन करें
विज्ञापन
BrainBehindX Inc Logo
©2026; द्वारा संचालित BrainBehindX Inc