AIM :Understanding read() and readlines () …

CBSE, JEE, NEET, CUET
Question Bank, Mock Tests, Exam Papers
NCERT Solutions, Sample Papers, Notes, Videos
AIM :Understanding read() and readlines () TASK: A text file QUOTES. Txt contains MULTIPLE
Lines of Text.
Create a Menu driven Program to do the
following:
1. Search & Count
2. Lines Beginning with vowel 3. Display vowel words
4. Exit
HINT:
* Search & count - Input any word and count if it is present in the file.
* use readlines() to solve Option3 * use read() and then split() to get the words (Option 1 & 3)
Posted by Chaitanya Gupta 4 years, 3 months ago
- 1 answers
Related Questions
Posted by Kandeepan Jothivel 1 year, 7 months ago
- 2 answers
Posted by Priya Shukla 1 year, 6 months ago
- 1 answers
Posted by Hanni Pham 1 year, 5 months ago
- 1 answers
Posted by Syedali Fathima 1 year, 6 months ago
- 1 answers
Posted by Prawar Narang 1 year, 7 months ago
- 1 answers
Posted by Hanni Pham 1 year, 5 months ago
- 0 answers

myCBSEguide
Trusted by 1 Crore+ Students

Test Generator
Create papers online. It's FREE.

CUET Mock Tests
75,000+ questions to practice only on myCBSEguide app
myCBSEguide
Mabiya Khan 4 years, 3 months ago
0Thank You