Computer Science - Class 12
Solutions to CBSE Sample Paper - Computer Science Class 12

Write a function in Python to read a text file, Beta.txt and displays those lines which end with the word ‘done’.

Answer:

Answer by student

Function in Python to read a text file and displays those lines which end with the word done - Teachoo.png

Detailed answer by teachoo

The rest of the post is locked. Join Teachoo Black to see the full post.

Go Ad-free
Davneet Singh's photo - Co-founder, Teachoo

Made by

Davneet Singh

Davneet Singh has done his B.Tech from Indian Institute of Technology, Kanpur. He has been teaching from the past 14 years. He provides courses for Maths, Science and Computer Science at Teachoo