-
- Although I always call it modulus, I like the term integer division better; self-describes the two resultant integers as quotient and remainder.
math.isclose()
in python defaults to a tolerance of diff <= 1e-09
.
- Cornfield mazes, petting zoos, farms.
- TSLA class action: https://www.tesladetroitderivativeaction.com/
- Spelling bee buddy is great: https://www.nytimes.com/interactive/2023/upshot/spelling-bee-buddy.html
- The usual typing, ds&a, prep.
- Choosing k items from n options (and python examples)(repetitions = can choose same option multiple times)
- No order = combinations.
- No repetition = n! / (k! * (n – k)!) = math.comb(n, k) = binomial coefficient
- Repetition = (n+k-1)! / (k! * (n-1)!)
- Order = permutations.
- No repetition = n! / (n – k)! = math.perm(n, k)
- Repetition = n^k