(Choose 1 answer)
If you write a Python program to read a text file and you see extra blank lines in the output th in the file input as shown below, what Python string function will likely solve the problem?
From:
[email protected]
From:
[email protected]
From:
[email protected]
From:
[email protected]
A. find()
B. startswith()
C. rstrip()
D. split()
Finish
25