BeginnersGuide/Mathematics (original) (raw)
This wiki is in the process of being archived due to lack of usage and the resources necessary to serve it — predominately to bots, crawlers, and LLM companies. Edits are discouraged.
Pages are preserved as they were at the time of archival. For current information, please visit python.org.
If a change to this archive is absolutely needed, requests can be made via the infrastructure@python.org mailing list.
Read the official tutorial or a book if you have no experience with Python.
- be aware that there are accuracy issues with floating-point arithmetic
- review the operators
- be aware of the built-in functions: all, any, divmod, map, max, min, print, reverse, round, sum
- be aware of the included modules:
- read the control flow section of the official tutorial
- read about 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: