00:00 Programming with Python00:24 Control flow00:55 Finer control of loops01:52 break and continue05:51 A better way07:17 The Python code09:39 Remarks11:30 Loading a list13:32 Using else with loops16:08 Breaking a function execution20:09 Exceptions25:32 Distinguishing between different exceptions27:50 Remark: complex arithmetic in Python29:13 else = "all is fine"31:35 A more lively example37:41 finally = "wrap it up"40:15 finally with break, continue, and return41:08 Some general rules43:00 How deep does the rabbit hole go?45:08 Raising exceptions53:22 Silently handling exceptions56:03 Doing nothing59:32 Breaking out of several loops
YouTeach.js 06/2020