Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import random
- import string
- passLimit = int(input("Password Character Limit - "))
- passAmount = int(input("Password Amount - "))
- def insert():
- for i in range(passAmount):
- randomChar = ''.join(random.sample(string.ascii_letters + string.punctuation + string.hexdigits + string.octdigits + string.digits, k=passLimit))
- print(randomChar)
- insert()
Advertisement
Add Comment
Please, Sign In to add comment