国开 / 大数据技术
以下代码的输出结果是()。
for s in "grandfather":
if s=="d" or s=="h":
continue
print(s, end ="")
father
grand
granfater
grandfather
for s in "grandfather":
if s=="d" or s=="h":
continue
print(s, end ="")
father
grand
granfater
grandfather
参考答案:
佳题速递: