执行下列语句,输出语句的结果分别是_____________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
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
- 下列程序的输出结果是()。[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'
- 要输出“Hello,World!”,以下_____语句段是错误的。 A: print("Hello,",end="")print('World!') B: print("Hello,World!") C: print("Hello,";end="")print('World!') D: print("Hello",end=",")print('World!')
- 阅读下面的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",end="") print("a",end="")代码结果()