Introduction
Try-except helps your program keep running even if something goes wrong. It catches errors and lets you handle them safely.
When you ask the user to enter a number but they might type letters instead.
When you open a file that might not exist.
When you divide numbers and want to avoid dividing by zero.
When you call a function that might fail sometimes.
When you want to give a friendly message instead of a crash.