Skip to content

Instantly share code, notes, and snippets.

Viktor therollingtester

Block or report user

Report or block therollingtester

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View randstr.py
import random
from string import letters
def randstr(n):
return ''.join(random.choice(letters) for i in range(n))
# return ''.join(random.choice(string.ascii_uppercase + string.digits) for _ in range(N))
if __name__ == '__main__':
import sys
n = int(sys.argv[1]) if len(sys.argv) == 2 else 100
You can’t perform that action at this time.