Ad
  • Custom User Avatar

    I'm so sorry, you are correct. I was debugging and added a print statement after converting the times into ints. I copied the output thinking that was the original list.

  • Custom User Avatar

    songs is an array. And songs[0]['playback'] or songs[1]['playback'] should be strings. I just checked it again.

    The input argument is in seconds.

    Are you sure you are getting an int in the songs array playbacks? Could you post your code here (mark it as spoiler)?

  • Custom User Avatar

    Fun Kata, good job.

    One issue:

    Instructions are inaccurate as of the value of songs['playback']. Actual value in the list is an int in seconds (e.g. 317), not a string with minutes and seconds (e.g. "5:17").