Q: Kevin is a freelance video producer who makes TV commercials for local businesses. When he makes a commercial, he usually films several short videos. Later, he puts these short videos together to make the final commercial. He has asked you to write the following two programs. 1. A program that allows him to enter the running time (in seconds) of each short video in a project. The running times are saved to a file. 2. A program that reads the contents of the file, displays the running times, and then displays the total running time of all the segments.
I Would like to know the proper and correct python code for the following problem. described below
I did get an answer but I believe its wrong (attached as the images)
Q: Kevin is a freelance video producer who makes TV commercials for local businesses. When he makes a commercial, he usually films several short videos. Later, he puts these short videos together to make the final commercial. He has asked you to write the following two programs.
1. A
2. A program that reads the contents of the file, displays the running times, and then displays the total running time of all the segments.
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 2 images