McqMate
| Q. |
Which function is used to read single line from file? |
| A. | readline() |
| B. | readlines() |
| C. | readstatement() |
| D. | readfullline() |
| Answer» B. readlines() | |
| Explanation: the readline function reads a single line from the file fh = open(“filename”, “r”) | |
View all MCQs in
Problem Solving and Python ProgrammingNo comments yet