0

Why can't we use two raise statements ?!!

https://code.sololearn.com/c5A4TUzUOnoi/?ref=app

26th Jul 2019, 8:14 PM
sahana shanbhag
sahana shanbhag - avatar
1 ответ
+ 2
When you raise the first exception, that immediately terminates execution of the program so the second exception will never run.
26th Jul 2019, 8:16 PM
Faisal
Faisal - avatar