Computer Science for IGCSE & O level - Programming (Section 9 - No. 50)

What will `myFile.read()` do in Python?
Reads the whole file
Reads a single line
Writes to the file
Closes the file

Explanation

read() reads the entire content of the file into a string.

Comments (0)

Advertisement