We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3595157 commit f6d6a7eCopy full SHA for f6d6a7e
unit3_ex3.3.1.py
@@ -0,0 +1,12 @@
1
+# exercise 3.3.1 from unit 3
2
+'''
3
+try:
4
+ if '1' != 1:
5
+ raise "SomeError"
6
+ otherwise:
7
+ print("SomeError has not occurred")
8
+except "someError":
9
+ print("SomeError has occurred")
10
+What will happen after the program runs?
11
12
+# Answer: The program will crash due to incorrect code.
0 commit comments