I
I
Ilya2016-10-26 01:42:38
Django
Ilya, 2016-10-26 01:42:38

How to add 0 to numbers up to 9?

How to make the numbers be in the form 01 to 09?
Tried to do so, swears at what should be integer

wall_get['response']['items']["%02d" % (i,)]['date']

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Abdulla Mursalov, 2016-10-26
@nuBacuk

With the zfill method

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question