点击查看【bilibili】学习代码如下:
str1 = 'itheima'for i in str1: if i == 'e': continue print(i)
str1 = 'itheima'
for i in str1:
if i == 'e':
continue
print(i)
运行结果如下:
若有收获,就点个赞吧
0 人点赞
让时间为你证明