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
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? '))))
Doğru ya illaki bi ipucu vermek gerek eyvallah kankam bu arada pyhton hem basit hemde diğer kod dillerinden daha iyi öğrenip geliştirmeni tavsiye ederim.
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