LearnPy Hub
← Exceptions problems
Easy

Average of Nothing

Read a total and a count. Print the average with 2 decimals, or No items if the count is 0 (catch ZeroDivisionError).

Input

Two integers.

Output

One line.

Sample 1

Input
100
4
Output
25.00

Sample 2

Input
50
0
Output
No items
solution.py
Output appears here
Average of Nothing · Python practice problem · LearnPy Hub