Skip to content

Commit c9cee0a

Browse files
committed
test Execption
1 parent 24704e1 commit c9cee0a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

hello/TestException.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
for i in range(1,80):
2+
try:
3+
print(i)
4+
if(i == 10):
5+
raise Exception
6+
except Exception:
7+
print("this is a exception!")

0 commit comments

Comments
 (0)