McqMate
| Q. |
Which function is used to read all the characters? |
| A. | read() |
| B. | readcharacters() |
| C. | readall() |
| D. | readchar() |
| Answer» A. read() | |
| Explanation: the read function reads all characters fh = open(“filename”, “r”) content = fh.read(). | |
View all MCQs in
Problem Solving and Python ProgrammingNo comments yet