McqMate
| Q. |
What is the correct syntax of open() function? |
| A. | file = open(file_name [, access_mode][, buffering]) |
| B. | file object = open(file_name [, access_mode][, buffering]) |
| C. | file object = open(file_name) |
| D. | none of the mentioned |
| Answer» B. file object = open(file_name [, access_mode][, buffering]) | |
| Explanation: open() function correct syntax with the parameter details as shown below: file object = open(file_name [, access_mode] [, buffering]) | |
View all MCQs in
Problem Solving and Python ProgrammingNo comments yet