/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 vote258 views2 answers
- 0 vote285 views1 answer
- 25 votes405 views2 answers
- 139 votes293 views6 answers
- 0 vote276 views2 answers
- 0 vote285 views2 answers
- 1 vote276 views1 answer
- 0 vote273 views1 answer
- 1 vote289 views1 answer
- 0 vote359 views1 answer