ExamPlay Light Logo
Log ind

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

Forklaring

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

Kommentarer (0)

Log ind for at kommentere
Reklame
BrainBehindX Inc Logo
©2026; Drevet af BrainBehindX Inc