填空题:下面程序的输出是 (字符串不要加引号)
下面程序的输出是 (字符串不要加引号)
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 ||
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 ||