如果程序运行时从键盘输入“1.234” 下面程序的运行结果是()。 try: a=int(input(a number:)) 1 /

大学网课 已帮助 人

如果程序运行时从键盘输入“1.234”,下面程序的运行结果是()。 try: a=int(input("a number:")) 1 / a except ZeroDivisionError : print("division by zero!") except ValueError: print("value is not an integer!") else: print("That went well!") finally: print("Cleaning up.")

A.value is not an integer! Cleaning up.

B.division by zero! Cleaning up.

C.That went well! Cleaning up.

D.value is not an integer!

如果程序运行时从键盘输入“1.234” 下面程序的运行结果是()。 try: a=int(input(a number:)) 1 /

热搜:恶意代码通常是一段可运行的程序