/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 vote111 views1 answer
- 1 vote120 views2 answers
- 3 votes104 views1 answer
- 46 votes108 views4 answers
- 0 vote108 views1 answer
- 3 votes125 views2 answers
- 0 vote164 views1 answer
- 0 vote111 views1 answer
- 3 votes118 views1 answer
- 0 vote102 views1 answer