Created
October 11, 2017 13:18
-
-
Save rkhozinov/af108edd5d079381b156a0ae5a5a127c to your computer and use it in GitHub Desktop.
use card number without delimiters as an argument
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from sys import stdout, argv | |
| if len(argv) <=1: | |
| exit(1) | |
| for i in range(len(argv[1])): | |
| if (i % 4 == 0): | |
| stdout.write('\t') | |
| stdout.write(argv[1][i]) | |
| stdout.write('\n') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment