ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 125 - 350-901 discussion

Report
Export

Refer to the exhibit.

A developer created the code, but it fails to execute. Which code snippet helps to identify the issue?

A.

Option A

Answers
A.

Option A

B.

Option B

Answers
B.

Option B

C.

Option C

Answers
C.

Option C

D.

Option D

Answers
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'

>>>

asked 10/10/2024
Himanshu Sachdeva
36 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first