Ad
  • Custom User Avatar

    The problem is the for loop. For example when i=2 then with example initial_time = "12:45" then initial_time[i] is ":" which means initial_time[i][0:2] is also ":", which is an invalid input for int.

  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution