score = [['迷途', 85], ['黑夜', 80], ['小布丁', 65],['福䘵娃娃', 95],['怡静', 90] ] x = input(">>>") print(f"{x}的分数是:{dict(score).get(x,'无')}")