Created
October 27, 2016 04:51
-
-
Save lozadaOmr/a1d59521e453bdf508e66845629ed466 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
activations = ['1000','1000','1000','1001','2000'] | |
tacs = {'1000':'1000','1001':'1001'} | |
score = {} | |
for imei in activations: | |
if tacs.get(imei, None): | |
score[str(imei)] = score.get(str(imei),0) + 1 | |
print score |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment