3
Day 3 lecture
j edited this page 2023-04-02 07:31:33 +02:00
Today's topic: text, combining data with operators
- How \r and \g work, ASR-33
- Overstriking for hiding things, animating the command line
- Operators
- Modulo math, fizzbuzz
- What does equality really mean?
- text input validation
- How operators are called: __add__, __eq__ etc: https://docs.python.org/3/library/operator.html#mapping-operators-to-functions
- the '+' operator can be used for both numeric addition and string concatenation