Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save paigeadelethompson/9eccf3faeb6670aa589d700f8e241460 to your computer and use it in GitHub Desktop.
Save paigeadelethompson/9eccf3faeb6670aa589d700f8e241460 to your computer and use it in GitHub Desktop.
In [104]: id_hi = 3491199
...: id_lo = 1322211
...: id_hi = 3491199
...: id_lo = 1322211
...: torn_actual_total_players = 2067868
...: id_hi - torn_actual_total_players
...: 1423331 - 1322211
...: id_hi / torn_actual_total_players
...: id_hi / 10000
Out[104]: 349.1199
In [105]: torn_actual_total_players / 100000
Out[105]: 20.67868
In [106]: id_hi / 20
Out[106]: 174559.95
In [107]: 174559 * 20
Out[107]: 3491180
In [108]: [id_lo + (174559 * index) for index in range(20)].pop(1)
Out[108]: 1496770
In [109]: [id_lo + (174559 * index) for index in range(20)].pop(2)
Out[109]: 1671329
In [110]: [id_lo + (174559 * index) for index in range(20)].pop(3)
Out[110]: 1845888
In [111]:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment