Read [[https://docs.python.org/3/tutorial/index.html|the official tutorial]] or [[https://www.cmi.ac.in/~madhavan/courses/prog2-2012/docs/diveintopython3/|a book]] if you have no experience with Python. 1. be aware that there are accuracy issues with floating-point arithmetic * https://en.wikipedia.org/wiki/Floating-point_arithmetic#Accuracy_problems * https://docs.python.org/3/tutorial/floatingpoint.html * https://docs.python.org/3.6/library/decimal.html * https://www.sympy.org * http://mpmath.org 1. review [[https://www.tutorialspoint.com/python3/python_basic_operators.htm|the operators]] 1. be aware of the built-in functions: all, any, divmod, map, max, min, print, reverse, round, sum * https://docs.python.org/3/library/functions.html 1. be aware of the included modules: * https://docs.python.org/3.6/library/math.html * https://docs.python.org/3.6/library/statistics.html * https://docs.python.org/3.6/library/decimal.html * https://docs.python.org/3.6/library/fractions.html * https://docs.python.org/3.6/library/itertools.html 1. read the [[https://docs.python.org/3/tutorial/controlflow.html|control flow section]] of the [[https://docs.python.org/3/tutorial/index.html|official tutorial]] 1. read about [[https://docs.python.org/3.6/tutorial/datastructures.html#list-comprehensions|list comprehensions]] Investigate: * http://www.sagemath.org * https://scipy.org * https://www.spyder-ide.org/ * https://github.com/jupyter/qtconsole (ipython) * https://wiki.python.org/moin/NumericAndScientific Examples: * https://pymotw.com/3/math/ * https://pymotw.com/3/statistics/ * http://rosettacode.org/wiki/Category:Mathematics * http://rosettacode.org/wiki/Category:Geometry * https://code.activestate.com/recipes/tags/mathematics/ * https://code.activestate.com/recipes/tags/math * https://stackoverflow.com/questions/tagged/python+math * https://en.wikibooks.org/wiki/Mathematics_with_Python_and_Ruby/Fractions_in_Python Q&A: * https://stackoverflow.com/questions/tagged/python * https://python-forum.io * https://mail.python.org/pipermail/python-list/