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

Explanation

The write function is used to write into a file.

Comments (0)

Advertisement