Size: 2082
Comment: created BeginnersGuide/Mathematics
|
← Revision 6 as of 2019-06-20 20:13:37 ⇥
Size: 2171
Comment: Diveintopython.net is no longer available. Replacing it for another mirror of the book.
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
Read [[https://docs.python.org/3/tutorial/index.html|the official tutorial]] or [[http://www.diveintopython3.net|a book]] if you have no experience with Python. | 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. |
Line 4: | Line 4: |
* 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 * http://mpmath.org |
* 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 |
Line 9: | Line 10: |
2. review [[https://www.tutorialspoint.com/python3/python_basic_operators.htm|the operators]] | 1. review [[https://www.tutorialspoint.com/python3/python_basic_operators.htm|the operators]] |
Line 11: | Line 12: |
3. 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 built-in functions: all, any, divmod, map, max, min, print, reverse, round, sum * https://docs.python.org/3/library/functions.html |
Line 14: | Line 15: |
4. 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. 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 |
Line 21: | Line 22: |
5. 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 the [[https://docs.python.org/3/tutorial/controlflow.html|control flow section]] of the [[https://docs.python.org/3/tutorial/index.html|official tutorial]] |
Line 23: | Line 24: |
6. read about [[https://docs.python.org/3.6/tutorial/datastructures.html#list-comprehensions|list comprehenstions]] | 1. read about [[https://docs.python.org/3.6/tutorial/datastructures.html#list-comprehensions|list comprehensions]] |
Line 29: | Line 30: |
* https://github.com/spyder-ide/spyder | * https://www.spyder-ide.org/ |
Line 38: | Line 39: |
* https://en.wikibooks.org/wiki/Mathematics_with_Python_and_Ruby/Fractions_in_Python | * http://rosettacode.org/wiki/Category:Geometry |
Line 42: | Line 43: |
* https://en.wikibooks.org/wiki/Mathematics_with_Python_and_Ruby/Fractions_in_Python |
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:
https://github.com/jupyter/qtconsole (ipython)
Examples:
Q&A: