Sep-01-2020, 09:53 PM
Thank you for your reply.
I was finally able to get some meaningful help from the class.
I was finally able to get some meaningful help from the class.
def get_password_leaks_count(hashes, hash_to_check): splithashes = hashes.text.splitlines() newlist = [] for line in splithashes: newlist.append(line.split(':')) for h, count in newlist: if h == hash_to_check: return count return 0 print(h, count)However, there is a weird problem now. Last night, this functioned well just like the original, but today, it is just letting any password pass by as being safe.