Computer Science for IGCSE & O level - Programming (Section 10 - No. 27)

What does `myFile.close()` do in the Python example?
Writes to the file
Opens the file
Closes the file
Reads from the file

Explanation

`myFile.close()` is used to close the file connection in Python.

Comments (0)

Advertisement