首页 › 答案 › 题库 › 慕课 › 未分类

以下代码的显示结果是哪个选项?temperature=50iftemperature=100:print(toohot)eliftemperature=40:print(toocold)else:print(justright)

以下代码的显示结果是哪个选项?temperature=50iftemperature=100:print(toohot)eliftemperature=40:print(toocold)else:print(justright)
A.toohot
B.toocold
C.justright
D.toohottoocoldjustright
正确答案:justright