Consider the given text file 'pledge.txt'

India is my country.

All Indian are my brothers and sisters


f=open('pledge.txt', 'r') #Statement 1

line = f.readlines() #Statement 2

print(len(line)) #Statement 3

f.close() #Statement 4

Identify the correct output, will be given by statement 3.

1
62
2
60
3
1
4
2

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation