Aug-06-2018, 02:33 PM
The tuples are better than a dict. You need to subtract the numbers in order, and the list of tuples provides the order. I think it would be more pythonic to loop through the tuples rather than keep track of an index, but a dictionary is not the proper tool here.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures