How can this be implemented more easily?

How can this be implemented more easily?

(60 - k) % 60 is the corresponding value for any key. Better to use Maths blocks instead of a dictionary for this.

2 Likes

Will there be 1 digit from 0 to 9??? And I need 01, 02, 03…

This should do what you’re looking for:

1 Like