As you can see its a password generator. Just you need to do is select how many charachters you want to have in your pass.
Python ile yazılmış şifre oluşturucu program. Yapılması gereken tek şey karakter sayısı belirlemek
Python ile yazılmış şifre oluşturucu program. Yapılması gereken tek şey karakter sayısı belirlemek
import string
import random
def pw_gen(size = 8, chars=string.ascii_letters + string.digits + string.punctuation):
return ''.join(random.choice(chars) for _ in range(size))
print(pw_gen(int(input('How many characters in your password? '))))