Differences between revisions 5 and 6
Revision 5 as of 2019-06-01 21:36:05
Size: 2151
Editor: dvs1
Comment:
Revision 6 as of 2019-06-20 20:13:37
Size: 2171
Editor: IgorRocha
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
    * https://www.sympy.org
    * 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 10: 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 12: 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 15: 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 22: 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 24: Line 24:
 6. read about [[https://docs.python.org/3.6/tutorial/datastructures.html#list-comprehensions|list comprehensions]]  1. read about [[https://docs.python.org/3.6/tutorial/datastructures.html#list-comprehensions|list comprehensions]]

Read the official tutorial or a book if you have no experience with Python.

  1. be aware that there are accuracy issues with floating-point arithmetic
  2. review the operators

  3. be aware of the built-in functions: all, any, divmod, map, max, min, print, reverse, round, sum
  4. be aware of the included modules:
  5. read the control flow section of the official tutorial

  6. read about list comprehensions

Investigate:

Examples:

Q&A:

BeginnersGuide/Mathematics (last edited 2019-06-20 20:13:37 by IgorRocha)

Unable to edit the page? See the FrontPage for instructions.