A Admin • 832.52K Points Coach Q. Which of the following is the correct way to open a file for reading? (A) open('file.txt', 'read') (B) open('file.txt', 'r') (C) read('file.txt') (D) file('file.txt', 'r') Correct Answer - Option(B) Views: 25 Filed under category Python Hashtags: Share Manage Tags
Discusssion
Login to discuss.