Handling Errors: try, except and Clean Input
Lessons in this course
- Your First Script: Variables, Arithmetic and print()Free
- Numbers: int, float, //, % and ** Locked
- Types and Conversion: str, int, float and type() Locked
- Strings I: Indexing, Slicing and len() Locked
- Strings II: Methods, split() and f-strings Locked
- Comparisons and Booleans: and, or, not Locked
- Decisions: if, elif and else Locked
- Lists: Index, Slice, append(), pop() and insert() Locked
- for Loops and range() Locked
- while Loops: Repeat Until a Condition Fails Locked
- Loop Patterns: Counters, Accumulators, break and continue Locked
- Dictionaries: Counting and Summing by Key Locked
- Sets, Tuples and Membership Locked
- Functions: def, Parameters, Defaults and return Locked
- Functions II: Composition, Return Values and Scope Locked
- Built-in Helpers: sum, max, sorted, zip and enumerate Locked
- Reading Files: open(), with and Parsing Lines Locked
- Writing Files: write(), Modes "w" and "a", and Newlines Locked
- Handling Errors: try, except and Clean Input Locked
- Final Project: The Daily Rental Report Locked