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
1
Explanation:
I think
use nested looping
Answered by
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
History,
4 months ago
English,
4 months ago
Business Studies,
4 months ago
English,
8 months ago
Social Sciences,
8 months ago
India Languages,
11 months ago
English,
11 months ago
Physics,
11 months ago