Using Python's operator module could be a good idea to do some basic operations in your day to day
Using Python's operator module could be a good idea to do some basic operations in your day to day
Namedtuples are a great data structure to use in Python, this tip will make things like defining default values a lot easier for you