单选题:以下语句能正确输出“明天见!”的是:()
以下语句能正确输出“明天见!”的是:()
A.
temp = 1
if temp < 10:
print("太冷了!")
else:
print("明天见!")
B.
temp = 1
if temp > 10:
print("太冷了!")
print("明天见!")
C.
temp = 1
if not(temp > 10):
print("太冷了!")
else:
print("明天见!")
D.
temp = 1
if temp > 10:
print("太冷了!")
print("明天见!")
答案:D
A.
temp = 1
if temp < 10:
print("太冷了!")
else:
print("明天见!")
B.
temp = 1
if temp > 10:
print("太冷了!")
print("明天见!")
C.
temp = 1
if not(temp > 10):
print("太冷了!")
else:
print("明天见!")
D.
temp = 1
if temp > 10:
print("太冷了!")
print("明天见!")
答案:D