-->
当前位置:首页 > 题库 > 正文内容

填空题:下面程序的输出是 (字符串不要加引号)

Luz3年前 (2022-05-21)题库1470
下面程序的输出是 (字符串不要加引号)

try:
x = float("abc123")
print("数据类型转换完成")
except IOError:
print("This code caused an IOError")
except ValueError:
print("This code caused an ValueError")









答案:
第1空:This code caused an ValueError ||

发表评论

访客

◎欢迎参与讨论,请在这里发表您的看法和观点。