Run ID:86970
提交时间:2024-07-31 19:45:30
while True: a,b=input().split() res=0 for x in b: if x==a.upper()or x==a.lower(): res+=1 print("{:.5f}".format(res/len(b)))