题解 1728: 字符串的查找删除

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

字符串的查找删除-题解(Python代码)

由于本题需要替换各种形式的字符,包括in,In,iN和IN```pythontemp=input()temp=temp.casefold()#变成小写length=len(temp)whiletemp:st=input()st_1=st.casefold()#把原字符全部小写赋值给st_1whilet

直接替换字符串

摘要:import java.util.*;public class Main {    static Scanner in = new Scanner(System.in);    public stat……