LearnPy Hub
← Context Managers problems
Easy

Suppress an Error

Read numbers. For each, use contextlib.suppress(ZeroDivisionError) around printing 100 // n, so zeros are silently skipped. Print finished at the end.

Input

One line of integers.

Output

Lines.

Sample 1

Input
5 0 3
Output
20
33
finished

Sample 2

Input
0
Output
finished
solution.py
Output appears here
Suppress an Error · Python practice problem · LearnPy Hub