Computer Science, asked by nikhilgeogi, 8 months ago

Write a function remove_lowercase() that accepts two filenames, and copies all lines that do not start with a lowercase letter from the first file into second​

Answers

Answered by alimayub2004
1

Explanation:

I think

use nested looping

Answered by Aadya8557
2

Explanation:

def remove_lowercase (infile, outfile):

output = open (outfile, "w")

for line in open (infile):

if not line [0] in "abcdefghijklmnopqrstuvwxyz":

output.write(line)

output.close ()

Similar questions