Write all content of a given file into a new file by skipping line number 5 using python programming
belongs to collection: Python Input and Output Exercises
All Answers
total answers (1)
belongs to collection: Python Input and Output Exercises
total answers (1)
Hint:
readlines()
method. This method returns all lines from a file as a listw
)counter = 0
write()
methodSolution:
need an explanation for this answer? contact us directly to get an explanation for this answer