I have a list of [##, ##, ## ... ##] and I want to unpack it and print it as "##-##-##-...-##" with preceding zeros on the left if the number is less than ten.
Is there a way to do this besides a for loop? I don't want the trailing "-" at the end.
You can use standard python string formatting +
str.join:Prints: