all repos — notes @ b0d3103384de7258a70952ccef997a4f9b8a5e2d

My notes, written in md and LaTeX

misc/python.notes.md

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
# Chapter 5
  

## Other Numeric Types

### Decimal Type
  - The Decimal class provides useful features to work with decimals with fixed
    precision.
### Fraction Type
  - Fraction and Decimal type provide more accuracy and simplify results.
    automatically
### Sets
  - They are unordered, immutable, unique collection of objects and follow the 
    mathematical definition of sets.
  - They behave like valueless dicts.
  - A literal set is represented by `{1,2,3}`