Computer Science, asked by ashvath7203, 8 months ago

Write a program in python that reads a text file and creates another file that is identical except that every sequence of consecutive blank spaces is replaced by a single space.​

Answers

Answered by Anonymous
9

refer above attachment!

Attachments:
Answered by Kanishkasrivastava
2

Answer:

Explanation:

Please see the below given answe4 hope it helps you

F1 first object for first file

And f2 for second file

Attachments:
Similar questions