I'm trying to format a string that represents a lap-time from 3 int variable: min, sec, ms
I tried this:
full_time = f'{min}:{sec}:{ms}'
but I want to always have 2 characters for the seconds and 3 characters for the milliseconds (ex: 1:09:077) I've seen something that looks like this: {:_<2} but i don't know where to write it. Or do you recomend another way of formatting strings?
Thanks for your answers!