Skip to content

Instantly share code, notes, and snippets.

@hvuhsg
Created March 2, 2022 15:52
Show Gist options
  • Save hvuhsg/ee1129e301e0cdd644307473e62d5086 to your computer and use it in GitHub Desktop.
Save hvuhsg/ee1129e301e0cdd644307473e62d5086 to your computer and use it in GitHub Desktop.
passwords = {}
for password in password_list:
if password in passwords.keys():
passwords[password] = 0
else:
passwords[password] += 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment