/Python/Try: if '1' != 1: raise "someError" else: print("someError has not occurred") except "someError": print ("someError has occurred")
Try: if '1' != 1: raise "someError" else: print("someError has not occurred") except "someError": print ("someError has occurred")
Try: if '1' != 1: raise "someError" else: print("someError has not occurred") except "someError": print ("someError has occurred")
0
Source: sanfoundry.com
- 0 vote407 views1 answer
- 0 vote300 views1 answer
- 20 votes362 views2 answers
- 1 vote339 views1 answer
- 51 votes357 views6 answers
- 14 votes456 views5 answers
- 1 vote351 views1 answer
- 0 vote333 views1 answer
- 7 votes394 views1 answer
- 0 vote367 views1 answer