string.py 143 Bytes RawBlameHistoryPermalink 1 2 3 4 5 6 from random import choice from string import digits def get_random_number(width): return [''.join(choice(digits) for _ in range(width))]