LearnPy Hub
← Exceptions problems
Easy

Name the Error

Read a and b as text. Try int(a) / int(b). Print the result rounded to 2 decimals, or the name of the exception class that happened.

Input

Two lines.

Output

A number or an error name.

Sample 1

Input
10
3
Output
3.33

Sample 2

Input
10
0
Output
ZeroDivisionError
solution.py
Output appears here
Name the Error · Python practice problem · LearnPy Hub