Created
March 4, 2018 18:48
-
-
Save kuharan/00765cefb8c91fdea84a98b9e3e20407 to your computer and use it in GitHub Desktop.
A Simple Password Generator in Python
This file contains 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 random import * | |
import string | |
min = 10 | |
max = 20 | |
combination = string.ascii_letters + string.digits + string.punctuation | |
var_pass = "".join(choice(combination) for x in range(randint(min, max))) | |
print("Random Password String: ", var_pass) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment