<reponame>krgainer/Random-Password-Generator<gh_stars>0
import random
import string

lower = string.ascii_lowercase
upper = string.ascii_uppercase
num = string.digits
symbols = string.punctuation
all = lower + upper + num + symbols
length = int(input('\nPlease specify number of characters: ')) 

def generate():
	strTemp = random.sample(all,length)
	password = ("".join(strTemp))
	print(password)

generate()
import random
import string

lower = string.ascii_lowercase
upper = string.ascii_uppercase
num = string.digits
symbols = string.punctuation
all = lower + upper + num + symbols
length = int(input('\nPlease specify number of characters: ')) 

def generate():
	strTemp = random.sample(all,length)
	password = ("".join(strTemp))
	print(password)

generate()