"Hello World!" in C

  • + 0 comments
    import random
    import string
    password=""
    charlist=string.ascii_letters+string.digits+string.punctuation
    limit=int(input("enter the size of the password"))
    for i in range(limit):
        i=random.choice(charlist)
        password+=i
    
    print(password)