ExamPlay Light Logo
Se connecter

Computer Science for IGCSE & O level - Programming (Section 13 - No. 33)

What operation is performed by the statement `myFile.write('Hello')` in a Python example?
Reading a line from the file
Writing 'Hello' to the file
Opening the file
Closing the file

Explication

The write function is used to write into a file.

Commentaires (0)

Connectez-vous pour commenter
Publicité
BrainBehindX Inc Logo
©2026; Alimenté par BrainBehindX Inc