| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 67228 | 金浩 | 字母概率 | Python3 | Compile Error | 0 MS | 0 KB | 282 | 2024-03-16 10:34:39 |
letter,word=input().split() while letter: c=0 letter=letter.lower() word=word.lower() for i in range(len(word)): if letter==word[i]: c+=1 a=(c/len(word) print("{:保留五位小数}").format(a) letter, word = input().split()
File "Main.py", line 10
print("{:\u4fdd\u7559\u4e94\u4f4d\u5c0f\u6570}").format(a)
^
SyntaxError: invalid syntax