all repos — notes @ 8f88d9f4603a4715f0eadf0c6b002214d8a7b063

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}`