Code Problem | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Code Problem

I have a video and the duration of the video is 200 seconds.I have 3 favorite clip from the video consisting of its start time and end time. Clip Favorite 1: Start: 10 seconds End: 50 seconds Clip Favorite 2: Start: 63 seconds End: 100 Clip Favorite 3: Start: 120 End: 180 Create a program that can output the list of Clips and its Timestamp including the non-favorite clips from the video. Example Output: Clip 1: Start: 0 second(s) End: 9 second(s) Clip Favorite 1: Start: 10 second(s) End: 50 second(s) Clip 2: Start: 51 second(s) End: 62 second(s) Clip Favorite 2: Start: 63 second(s) End: 100 second(s) Clip 3: Start: 101 second(s) End: 119 second(s) Clip Favorite 3: Start: 120 End: 180 Clip 4: Start: 181 second(s) End: 200 second(s)

27th Jun 2021, 2:26 PM
Reyniel Mark Escamillas
Reyniel Mark Escamillas - avatar
1 Answer
+ 2
Reyniel Mark Escamillas , may be you have done an attempt, that you can show us?. if yes, please put your code in playground and link it here. if not, please do so. thanks!
27th Jun 2021, 5:35 PM
Lothar
Lothar - avatar