🌈 搜索
📅  最后修改于: 2022-03-11 14:45:37.852000             🧑  作者: Mango
t=int(input()) a=str(4) for i in range(t): x=str(input()) count=0 for j in x: if j==a: count=count+1 print(count)