下面代码的输出结果是 for 8 in’’HelloWorld’’: if s==’’W’’: break print(s,end=’’’’)

admin2019-09-02  26

问题 下面代码的输出结果是
for 8 in’’HelloWorld’’:
if s==’’W’’:
break
print(s,end=’’’’)

选项 A、Helloorld
B、Hello
C、World
D、HelloWorld

答案B

解析
转载请注明原文地址:https://kaotiyun.com/show/sj6p777K
0

最新回复(0)