Advertisement
IHATEMICROWAVEOVEN

password sacrifice letters

Oct 27th, 2024
18
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. if any(char.lower() not in string.ascii_lowercase for char in password):
  2. return False
  3. # if it got this far, then all letters are valid
  4. totalSacrifices = ""
  5. print("Sacrifice successful... muhahahaha")
  6. for letter in password:
  7. sacrifices.append(letter.lower())
  8. totalSacrifices += letter.lower()
  9. # IMPORTANT!!!! If the sacrifice rule is moved, change the 6 to something else.
  10. rules[6][0] = f"You have sacrificed these letters: {totalSacrifices}"
  11. return False
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement