Python_Institute
PCAP-31-03 · Question #38
What is the expected output of the following code if existing_file is the name of a file located inside the working directory?
The correct answer is C. 1 3. See the full explanation below for the reasoning.
Question
What is the expected output of the following code if existing_file is the name of a file located inside the working directory?
Exhibit
Options
- A1 2
- B1 2 3
- C1 3
- D2 3
How the community answered
(61 responses)- A3% (2)
- B8% (5)
- C79% (48)
- D10% (6)
Community Discussion
No community discussion yet for this question.
