/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
- 1 vote163 views1 answer
- 0 vote293 views1 answer
- 1 vote176 views1 answer
- 3 votes177 views3 answers
- 0 vote323 views1 answer
- 22 votes217 views4 answers
- 2 votes179 views1 answer
- 4 votes183 views1 answer
- 0 vote193 views2 answers
- 0 vote184 views1 answer