题目内容
What is the output after running the following codes with inputs 5 and 2?代码如下,若两个输入分别是5和2,输出结果是什么?try:x = int(input("\nFirst number: "))y = int(input("Second number: "))print(x/y)except ZeroDivisionError as e1: #①print("You can't divide by 0!")except ValueError as e2: #②print(e2)else:print('no error!')
查看答案
搜索结果不匹配?点我反馈