/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 vote337 views1 answer
- -1 vote327 views1 answer
- 2 votes337 views1 answer
- 0 vote334 views1 answer
- 0 vote314 views1 answer
- 81 votes338 views6 answers
- 37 votes324 views6 answers
- 2 votes303 views1 answer
- 0 vote381 views1 answer
- 3 votes338 views4 answers