Let’s check out some exercises that will help understand Try / Except better.
Place result="You can't divide with 0" to the right place so that program avoids ZeroDivisionError.
.get() is not a list method. Place pass keyword to the right line so that program doesn't throw an error.
Place msg="You can't add int to string" to the right place so that program avoids BaseExceptionError.
You can use except Exception although normally you should be careful using such powerful exception statements.