Skip to content

All the 4 Digit Number Combinations #187

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 3, 2017

Conversation

abrahamalbert18
Copy link
Contributor

It'll print every 4 digit combination from 0000 to 9999.
These are used in many real world applications.

It'll print every 4 digit combination from 0000 to 9999. 
These are used in many real world applications.
Copy link

@ytho ytho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have a look into zfill()

@abrahamalbert18
Copy link
Contributor Author

Yeah sure. Thanks :) zfill() help my code look much better and will be useful.

Used zfill() function now.
@geekcomputers geekcomputers merged commit d8db743 into geekcomputers:master Jul 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants