Python Institute Certified Associate in Python Programming PCAP-31-03 Question # 13 Topic 2 Discussion

Python Institute Certified Associate in Python Programming PCAP-31-03 Question # 13 Topic 2 Discussion

PCAP-31-03 Exam Topic 2 Question 13 Discussion:
Question #: 13
Topic #: 2

What is the expected output of the following code if the file named existing_text_file is a non-zero length text file located inside the working directory?

PCAP-31-03 Question 13


A.

the length of the first line from the file


B.

-1


C.

the number of lines contained inside the file


D.

the length of the last line from the file


Get Premium PCAP-31-03 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.