5 ms·You can use %03d instead of %s and the number will be zero padded to 3 digits.by jules 15y agoYou can use %03d instead of %s and the number will be zero padded to 3 digits.anthonyb 15y agoalso, range(1,20) rather than needing i+1 throughout your codeToddward 15y agoThanks for the tips. I get better at Python every day.