Safe Divider (Try/Except)
Input: `a`, `b` (numbers). Return: `a / b` or 'Error' if b is 0.
Example
Input: 10, 2
Output: 5.0
Need a hint?
- Use try-except ZeroDivisionError
Run your code to see output
Input: `a`, `b` (numbers). Return: `a / b` or 'Error' if b is 0.
Input: 10, 2
Output: 5.0
Run your code to see output