KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
How do we use python to generate a four digit counter? range(0,9999) will have 1 digits, 2 digits and 3 digits. We only want 4 digits. i.e. 0000 to 9999 Of course, the simplest Pythonic way.
Tags (comma-separated)
Save Edits
Cancel