+ 1

When can you use except in python?

12th Dec 2019, 1:17 PM
Dimitris Vasilaras
Dimitris Vasilaras - avatar
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")
12th Dec 2019, 1:24 PM
Qasem
0
-file handling -looping through and testing iterable contents or just anything that could cause an error
12th Dec 2019, 2:39 PM
Choe
Choe - avatar