哦,测试全对,然后……
str1=input() str2=input() str1=str1.lower() str2=str2.lower() if str2.count(str1)>=1: print(str2.count(str1),end=" ") print(str2.find(str1)) else: print(-1)