第12232题 判断题
判断以下Python异常处理程序在输入A时的运行结果描述是否正确

下列程序,当输入A时,运行结果是:错误,请输入数字。

try:
    x = int(input())
    y = int(input())
    n = x / y
    print(n)
except ValueError:
    print('错误,请输入数字')
except ZeroDivisionError:
    print('错误,除数不能为0')
except:
    print('其它错误!')
{{ option.label }}
子题{{ index + 1 }} {{ child.type_label }}
{{ option.label }}
✓ 正确 ◐ 部分正确 ✗ 错误
程序运行统计
暂无判题统计
提交{{ questionInfo.stats ? questionInfo.stats.submit_count : 0 }}次 正确率{{ statsAccuracy }}%
答案解析