In python
Use the file name book.txt for the programs
1. Write a program to print the lines that starts with ‘s’.
2. Write a program to count the number of lines in the file.
3. Write a program to print the special characters in the file.
4. Write a program to count the letters ‘h’ and ‘H’.
The output should be
No of h:
No of H:
5. Write a program to count the lowercase letters in the file.
Answers
Answered by
0
follow in brainly follow me in brainly
Similar questions
Hindi,
5 months ago
Environmental Sciences,
5 months ago
Math,
10 months ago
Science,
10 months ago
Math,
1 year ago