A) write()
B) writelines()
C) append()
D) dump()
Correct Answer: B
Solution :
[b] writelines(): method writes a list of strings to a file, however write(): method writes only a string, not a list.You need to login to perform this action.
You will be redirected in
3 sec