Created
April 20, 2013 16:36
-
-
Save hwrdprkns/5426553 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
for symbol in current_symbol_rank: | |
if previous_symbol_rank.has_key(symbol): | |
previous_rank = previous_symbol_rank[symbol] | |
current_rank = current_symbol_rank[symbol] | |
try: | |
moved[symbol] = int(previous_rank) - int(current_rank) | |
except ValueError: | |
pass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment