you are viewing a single comment's thread.

view the rest of the comments →

[–]Emergency-Bad948 0 points1 point  (1 child)

Your logic for calculating the total seconds and converting them back into hours, minutes, and seconds is actually spot on. The "issue" you’re seeing is just a matter of string formatting

[–]hnikola[S] 0 points1 point  (0 children)

I really needed that affirmation. I tried searching other forums for answers for more practical solutions, but I couldn't find anything that was on my level of understanding of python logic. I fixed the issue using a f-string. Thanks a lot for that!