<jupyter_start><jupyter_text><jupyter_code>stud_heights = input("enter heights:").split()
print(stud_heights)
for i in range (0, len(stu_hg)):
  stud_heights[i] = int(stud_heights[i])
print(stud_heights)

highest = 0
for i in stud_heights:
  if highest < i:
    highest = i
  else:
    highest = highest

print(highest)
avg = 0
for i in stud_heights:
  
  avg = avg + i
  for j in i:
    j = j +1 
  print (j)
avg = (avg)/len(stud_heights)
    
print (avg)
  
import random
letters = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z']
numbers = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9']
symbols = ['!', '#', '$', '%', '&', '(', ')', '*', '+']

print("Welcome to the PyPassword Generator!")
nr_letters = int(input("How many letters would you like in your password?\n")) 
nr_symbols = int(input(f"How many symbols would you like?\n"))
nr_numbers = int(input(f"How many numbers would you like?\n"))

#Eazy Level
# password = ""

# for char in range(1, nr_letters + 1):
#   password += random.choice(letters)

# for char in range(1, nr_symbols + 1):
#   password += random.choice(symbols)

# for char in range(1, nr_numbers + 1):
#   password += random.choice(numbers)

# print(password)

#Hard Level
password_list = []

for char in range(1, nr_letters + 1):
  password_list.append(random.choice(letters))

for char in range(1, nr_symbols + 1):
  password_list += random.choice(symbols)

for char in range(1, nr_numbers + 1):
  password_list += random.choice(numbers)

print(password_list)
random.shuffle(password_list)
print(password_list)

password = ""
for char in password_list:
  password += char

print(f"Your password is: {password}")<jupyter_output>Welcome to the PyPassword Generator!
How many letters would you like in your password?
8
How many symbols would you like?
2
How many numbers would you like?
5
['b', 'f', 'Y', 'a', 'j', 'i', 'N', 'J', '%', '!', '4', '4', '3', '9', '9']
['i', '9', 'j', '%', 'a', 'J', '4', '4', 'b', '!', '9', 'N', '3', 'f', 'Y']
Your password is: <PASSWORD>
{'fraction_non_alphanumeric': 0.23609226594301222, 'fraction_numerical': 0.017639077340569877, 'mean_word_length': 4.434889434889435, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '617238', 'license': 'MIT', 'n_tokens_mistral': 924, 'n_tokens_neox': 892, 'n_words': 272, 'path': 'day_5_password_gen.ipynb', 'repo_name': 'Hrudayangam/Python_100_days', 'size': '2216'}