- **Assignment 1** is posted on Canvas. Please **accept** it now. - It should be a **separate** repo. Do not copy it to your ***OIM3640*** repo. - Read instructions including the [code grading rubric](https://github.com/OIM3640/resources/blob/main/code_grading_rubric.md), before starting to code.
--- # Quick Quiz - Python Trivia Facts 1) Was **Python** created as a **hobby project**? 2) Where does the name "**Python**" for the programming language come from? 1) Guido van Rossum's favorite *[pet animal](https://en.wikipedia.org/wiki/Python_(genus))* 2) Guido van Rossum's favorite *[comedy TV show](https://www.youtube.com/watch?v=JrdEMERq8MA)* 3) Guido van Rossum's favorite *[artwork](https://www.metmuseum.org/art/collection/search/398703)* 4) Guido van Rossum's favorite *[mythical creature](https://en.wikipedia.org/wiki/Python_%28mythology%29)* 3) Is **Python** open source? --- # One More ~~Python~~ Programming Fun Fact * Try `0.1 + 0.2` in Python interactive shell * **Do not worry! It is NORMAL!** * This happens in all programming languages that use floating point decimals, **not just in Python**. * Because computers represent decimal numbers in **binary (Base-2) format**. * Check out <https://0.30000000000000004.com> * How to avoid? * Consider using the [`decimal` library](https://docs.python.org/3/library/decimal.html) if precision matters to your program. * We could use `print(f'{result:.1f}')` to hide such floating point errors. * Read [more discussions on stackoverflow](https://stackoverflow.com/questions/19473770/how-to-avoid-floating-point-errors)
Use keyword arguments when a function has many variables.