题解 | #跳过列表的某个元素#
跳过列表的某个元素
https://www.nowcoder.com/practice/4713c1513cfa43b5a3dd0013059880fe
默认情况下,print函数输出内容之后,会在内容末尾自动增加换行
如果不希望增加换行,可在输出的内容后面增加 , end=""
在 "" 中间可以指定想要显示的内容
for i in range(1,16):
if i==13:
continue
print(i,end=' ')