/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 vote98 views1 answer
- 1 vote187 views1 answer
- 8 votes104 views4 answers
- 2 votes125 views3 answers
- 5 votes97 views1 answer
- 1 vote101 views2 answers
- 0 vote99 views1 answer
- 0 vote109 views1 answer
- 0 vote106 views1 answer
- 0 vote144 views1 answer