1 Give Simplest Method Merge Following Two Files 5 Points File B B B C C C D File B Aa Aa Q37090768

1. Give the simplest method to merge the following two files. (5points) File a: a a a b b b c c c d File b: aa aa aa aa bb bb bb bbcc cc cc dd dd dd dd ee ee Merged file: a a a aa aa aa aa b b b bbbb bb bb c c c cc cc cc d dd dd dd dd ee ee Can you please give meperfect answer for this question. Thanks in advance


Answer


SCREENSHOT

# names of the files 2 f1a.txt 3 f2b.txt 4 5 # opening and reading lines in the files 6 one-open (f1).read().split( In 7

CODE

#

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.