Notifications
Clear all
Topic starter
Refer to the exhibit.
A developer created the code, but it fails to execute.
Which code snippet helps to identify the issue?
A)
B)
C)
D)
- A . Option A
B. Option B
C. Option C
D. Option D
Suggested Answer: A
Explanation:
>>> read_file = open("me.txt", "r") Traceback (most recent call last): File "<stdin>", line 1, in <module>
FileNotFoundError: [Errno 2] No such file or directory: 'me.txt'
>>>
Explanation:
>>> read_file = open("me.txt", "r") Traceback (most recent call last): File "<stdin>", line 1, in <module>
FileNotFoundError: [Errno 2] No such file or directory: 'me.txt'
>>>
Posted : 19/01/2023 6:13 pm