+ 1
When can you use except in python?
2 Respuestas
+ 2
When you want to manage an exception such that your program won't be crashed:
Try:
Print (3/0)
Except:
Print ("division by zero error")
0
-file handling
-looping through and testing iterable contents
or just anything that could cause an error