Python 代码实现
string = input()
alpha = input()
count = 0
for i in string:
if i.upper() == alpha.upper():
count += 1
print(count)
string = input()
alpha = input()
count = 0
for i in string:
if i.upper() == alpha.upper():
count += 1
print(count)