Exception | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 3

Exception

What is the output? try: variable = 10 print (10 / 2) except ZeroDivisionError: print("Error") print("Finished")

6th Sep 2020, 4:24 PM
Enoch D Adelekan
3 Answers
+ 4
Can't you run the code and see it yourself?
6th Sep 2020, 4:25 PM
Abhay
Abhay - avatar
6th Sep 2020, 7:12 PM
Nilesh
0
Try code playground! Also mention your expected output!
6th Sep 2020, 4:26 PM
Vadivelan