Skip to content
This repository has been archived by the owner on May 27, 2024. It is now read-only.

Episode 1- listening time calculation for first song of the session. #2

Open
kanch21 opened this issue Sep 30, 2021 · 0 comments
Open
Assignees

Comments

@kanch21
Copy link
Contributor

kanch21 commented Sep 30, 2021

Scenario- In this case, the song played is the first played song which continues to play completely for song 1. The next song automatically starts playing during which if the user clicks on pause after X minutes, it should calculate the
listening time = listening time of song 1(complete song)+listening time of song 2(played for X min)

Flow of scenario-> Play song 1 completely-> Song 2 plays automatically after song 1-> user clicks on pause after X minutes.

Issue- The listening time is not computing correctly for this scenario. The Python code needs a fix for it.

Input snippet
Episode 1 input

Source code file-
episode_one.txt

Output snippet
Episode 1 output

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants