第三章 7-16 删除字符

s=input().strip()
c=input().strip()
new=[]
for i in s:
    if c.lower()!=i.lower():
        new.append(i)
s_=''.join(new)
print('result: {}'.format(s_))
发布了80 篇原创文章 · 获赞 6 · 访问量 7625

猜你喜欢

转载自blog.csdn.net/qq_33749437/article/details/104887951