Which of the commands opens a file for reading? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Which of the commands opens a file for reading?

Which of the comands opens a file for reading? f= ‘file’.read() f= readlines(‘file’) f= write (‘file’) f= open (‘file’)

30th Nov 2018, 5:09 PM
Elis Belen
2 Answers
+ 1
You can try the 5-question p2p challenges code in code playground before posting here, I think.
30th Nov 2018, 5:32 PM
Gordon
Gordon - avatar