下面代码输出什么?()spam=7ifspam>5:print(“five”)ifspam>8:print(“eight”)
A: five
B: eight
C: 没有输出
A: five
B: eight
C: 没有输出
举一反三
- John is the tallest boy in the class, _______ according to himself. A: five foot eight as tall as B: as tall as five foot eight C: as five foot eight tall as D: as tall five foot eight as
- 下面的代码输出什么?() num=7 if num>3: print(“3”) if num<5: print(“5”) if num==7: print(“7”)
- 下面代码输出什么结果?( ) if 1+1==2: if 2*2==8: print(“if”) else: print(“else”)
- 下面代码的输出结果是 a=5 b=6 c=7 print(pow(b,2)-4*a*c)
- Eight kilometers is roughly ______ five miles.