下列程序的输出结果是()。[br][/br] print("A", end = ' ') print("B", end = ' ') print("C", end = ' ') print("D", end = ' ')
A: ABCD
B: A, B, C, D
C: A B C D
D: 'A''B''C''D'
A: ABCD
B: A, B, C, D
C: A B C D
D: 'A''B''C''D'
举一反三
- 执行下列语句,输出语句的结果分别是_____________print("A", end = ' ')print("B", end = ' ')print("C", end = ' ')print("D", end = ' ') A: ABCD B: A, B, C, D C: A B C D D: ABCD
- 下面代码的输出是什么? print("A", end = ' ') print("B", end = ' ') print("C", end = ' ') print("D", end = ' ') A: ABCD B: A, B, C, D C: A B C D D: ABCD
- 阅读下面的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=’’)
- 有如下程序,运行后的输出结果是 ______。 a = 5 If a <= 3 Then Print 3; End If If a <= 4 Then Print 4; End If If a <= 5 Then Print 5; End If If a <= 6; Print 6; End If A: 3456 B: 456 C: 56 D: 6
- 要输出“Hello,World!”,以下_____语句段是错误的。 A: print("Hello,",end="")print('World!') B: print("Hello,World!") C: print("Hello,";end="")print('World!') D: print("Hello",end=",")print('World!')