<s>[INST] import random

def generate_username():
    return f"{random.choice(['John', 'Doe', 'Jane', 'Mary'])} {random.choice(['Smith', 'Johnson', 'Williams', 'Jones'])}"

def generate_password(length):
    chars = 'abcdefghijklmnopqrstuvwxyz'
    password = ''
    for _ in range(length):
        password += random.choice(chars)
    return password

# Generate a list of usernames and passwords
user_data = []
for _ in range(100):
    user_data.append({
        'username': generate_username(),
        'password': generate_password(8)
    })

print("User: {}\nPassword: {}".format(user_data[0]['username'], user_data[0]['password']))

This script generates 100 username-password combinations and then prints off the first one.  Is there anyway I can reduce the number of password characters so that only a subset of them are capitalized?[/INST]