/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 vote201 views1 answer
- 0 vote167 views1 answer
- 0 vote382 views1 answer
- 2 votes186 views1 answer
- 1 vote152 views1 answer
- 0 vote183 views1 answer
- 0 vote191 views1 answer
- 0 vote175 views2 answers
- 0 vote166 views1 answer
- 0 vote166 views1 answer