题解 | #跳过列表的某个元素#
跳过列表的某个元素
https://www.nowcoder.com/practice/4713c1513cfa43b5a3dd0013059880fe
stringA = "" for i in range(1,16): if i != 13: stringA = stringA + str(i) +" " else: continue print(stringA.strip())
跳过列表的某个元素
https://www.nowcoder.com/practice/4713c1513cfa43b5a3dd0013059880fe
stringA = "" for i in range(1,16): if i != 13: stringA = stringA + str(i) +" " else: continue print(stringA.strip())
相关推荐