try:num = int(input("请输入一个整数:"))result = 8 / numprint(result)except Exception as result:print("未知错误:%s" % result)