import random
import string

lttrs = string.ascii_lowercase + string.ascii_uppercase
nums = string.digits
dots = string.punctuation

options = lttrs + nums + dots

answer = input("How long would you like your password to be? ")

your_password = ""

for x in range (int(answer)):
    your_password += random.choice(options)

print(f"Your {answer} character password is: {your_password}")

d5a746b8f4a35827a980601b1d010154ade9ba2f
<mask token>

<mask token>
for x in range(int(answer)):
    your_password += random.choice(options)
print(f'Your {answer} character password is: {your_password}')

<mask token>
lttrs = string.ascii_lowercase + string.ascii_uppercase
nums = string.digits
dots = string.punctuation
options = lttrs + nums + dots
answer = input('How long would you like your password to be? ')
your_password = ''
for x in range(int(answer)):
    your_password += random.choice(options)
print(f'Your {answer} character password is: {your_password}')

import random
import string
lttrs = string.ascii_lowercase + string.ascii_uppercase
nums = string.digits
dots = string.punctuation
options = lttrs + nums + dots
answer = input('How long would you like your password to be? ')
your_password = ''
for x in range(int(answer)):
    your_password += random.choice(options)
print(f'Your {answer} character password is: {your_password}')

import random
import string

lttrs = string.ascii_lowercase + string.ascii_uppercase
nums = string.digits
dots = string.punctuation

options = lttrs + nums + dots

answer = input("How long would you like your password to be? ")

your_password = ""

for x in range (int(answer)):
    your_password += random.choice(options)

print(f"Your {answer} character password is: {your_password}")
