/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
- 13 votes137 views5 answers
- 0 vote124 views1 answer
- 0 vote141 views3 answers
- 11 votes158 views6 answers
- 0 vote128 views1 answer
- 4 votes121 views4 answers
- 0 vote119 views8 answers
- 0 vote168 views1 answer
- 0 vote149 views1 answer
- 0 vote180 views1 answer