执行下列程序段输出的结果为( )。a=3IF a>0 Then Print"###"Else Print"$$$"End If
A:
B:
C:
D: $$$
E: $$$
F:
G:
H:
I:
J:
K:
L:
M: $$$
A:
B:
C:
D: $$$
E: $$$
F:
G:
H:
I:
J:
K:
L:
M: $$$
举一反三
- 阅读下面的python程序,请问输出结果是什么? Print(“T”,end=’’) if not 0 else print (‘F’,end=’’) Print(“T”,end=’’)if 6 else print (‘F’,end=’’) Print(“T”,end=’’)if””else print(‘F‘,end=’’) Print(“T”,end=’’)if”abc”else print(‘F’,end=’’) Print(“T”,end=’’)if____else print (‘F’,end=’’) Print(“T”,end=’’)if(1,2)else print(‘F’,end=’’) Print(“T”,end=’’)if[ ]else print(‘F’,end=’’) Print(“T”,end=’’)if[1,2]else print(‘F’,end=’’) Print(“T”,end=’’)if{ }else print(‘F’,end=’’) Print(“T”,end=’’)if{1,2}else print(‘F’,end=’’)
- print("a=") A: a=3 B: a=3if a>2: print("F")
- 下面程序段的输出结果为______。 Print "10+20=", Print 10+20 Print "20+20="; Print 20+20 A: 10+20=30 B: 20+20=40 C: 10+20= D: 30 E: 20+20= F: 40 G: 10+20 H: 20+20 I: 10+20=30 J: 20+20= K: 40
- 下列程序段的执行结果为_______。 M=0 For I=1 To 3 For J =5 To 1 Step-1 N = N+1 Next J,I Print N;J;I
- The biggest problem with traditional print textbooks is that they become unusable once a new edition comes out. A: A B: B C: C D: D E: E F: F G: G H: H I: I J: J K: K L: L M: M