/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
- 23 votes370 views6 answers
- 0 vote200 views1 answer
- 0 vote188 views1 answer
- 13 votes195 views3 answers
- 11 votes269 views2 answers
- 45 votes225 views6 answers
- 0 vote201 views1 answer
- 0 vote191 views1 answer
- 0 vote192 views1 answer
- 0 vote185 views2 answers