/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
- 38 votes255 views2 answers
- 0 vote260 views1 answer
- 0 vote251 views1 answer
- 35 votes245 views6 answers
- 0 vote206 views1 answer
- 7 votes231 views2 answers
- 0 vote248 views2 answers
- 1 vote232 views1 answer
- 1 vote234 views1 answer
- 184 votes298 views6 answers