import random
characters = "abcdefghijklmnopqrstuvwxyz123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ!@$%^&*()_-+[]{};/';.,"
password_length = int(input("enter length of required password"))
password = "".join(random.sample(characters,password_length))
print(password)

a8530db2099d2d4a53de10108b3fc463a4514403
<mask token>

<mask token>
print(password)

<mask token>
characters = (
    "abcdefghijklmnopqrstuvwxyz123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ!@$%^&*()_-+[]{};/';.,"
    )
password_length = int(input('enter length of required password'))
password = ''.join(random.sample(characters, password_length))
print(password)

import random
characters = (
    "abcdefghijklmnopqrstuvwxyz123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ!@$%^&*()_-+[]{};/';.,"
    )
password_length = int(input('enter length of required password'))
password = ''.join(random.sample(characters, password_length))
print(password)

import random
characters = "abcdefghijklmnopqrstuvwxyz123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ!@$%^&*()_-+[]{};/';.,"
password_length = int(input("enter length of required password"))
password = "".join(random.sample(characters,password_length))
print(password)
