I am having trouble accessing the list value inside my dictionary. I want to find the list of the player's results using their name, which is my key. when I try to run this nothing happens. I believe there's an error in the logic.
x=int(input())
search_player=input()
if 2<=x<=10:
player_results={}
for i in range(x):
player,*pol=input().split()
scores=list(map(float,pol))[:3]
player_results[player]=scores
for key,value in player_results.items():
if key==search_player:
print(value)