Write a program to copy lines which start with a lowercase letter

A.Write a program to copy lines which start with a lowercase letter only from the input file

 

Demo.txt” and ignore the lines which start with an uppercase letter. The output file Demo2.

txt should contain only those lines from the file Demo.txt which start with a lowercase

letter.

B.  What are the applications of the seek() function?

Leave a Reply

Your email address will not be published.