B3- Write a Python program that reads the marks from a file named marks.txt and then increments each mark by 5 and saves the updated marks in a new file called updatedMarks.txt. You can assume that the marks are written on a separate line each in the marks.txt file. Finally, read the new marks from the new file and print them to the output screen.
B3- Write a Python program that reads the marks from a file named marks.txt and then increments each mark by 5 and saves the updated marks in a new file called updatedMarks.txt. You can assume that the marks are written on a separate line each in the marks.txt file. Finally, read the new marks from the new file and print them to the output screen.
Question
B3- Write a Python
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 3 images
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.