![Mcqmate logo](https://mcqmate.com/public/images/logos/logo-black.png)
![Mcqmate logo](https://mcqmate.com/public/images/logos/logo-white.png)
McqMate
Q. |
Which function is used to write a list of string in a file? |
A. | writeline() |
B. | writelines() |
C. | writestatement() |
D. | writefullline() |
Answer» A. writeline() | |
Explanation: with the writeline function you can write a list of strings to a file |
View all MCQs in
Problem Solving and Python ProgrammingNo comments yet