I Have A List Of Hashes And Their Occurrences. I Want To Get The Number Of Occurrences (the Number After The Semicolon)
Here is my code. It gets a list of hashes, which are leaked. I want to check my password against it. What I want it to do, is to, when it finds it to throw me back the number of oc
Solution 1:
try to use this code:
num = 0
for line in listing:
if ending in line:
num = line.split(':')[1]
break
else:
print("the 'ending' is not in 'listing'")
Post a Comment for "I Have A List Of Hashes And Their Occurrences. I Want To Get The Number Of Occurrences (the Number After The Semicolon)"