/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 vote178 views1 answer
- 0 vote202 views1 answer
- 3 votes165 views2 answers
- 0 vote180 views1 answer
- 0 vote194 views1 answer
- -1 vote198 views1 answer
- 3 votes194 views2 answers
- 0 vote192 views1 answer
- 39 votes194 views6 answers
- 1 vote211 views2 answers