SyntaxFix
Write A Post
Hire A Developer
Questions
>>> a=["%02d" % x for x in range(24)] >>> a ['00', '01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23'] >>>
It is that simple