Answered step by step
Verified Expert Solution
Question
1 Approved Answer
full_roster } = { Manny Machado : Dodgers, Yasiel Puig : Dodgers, Aaron Judge : Yankees, Clayton Kershaw : Dodgers, Giancarlo Stanton : Yankees
full_roster } = { "Manny Machado" : "Dodgers", "Yasiel Puig" : "Dodgers", "Aaron Judge" : "Yankees", "Clayton Kershaw" : "Dodgers", "Giancarlo Stanton" : "Yankees" full_stats = { "Manny Machado": ["SO", "1B", "3B", "S0", "HR"], "Yasiel Puig": ["3B", "3B", "1B", "18", "SO"], "Aaron Judge": ["SO", "HR", "HR", "1B", "so"], "Clayton Kershaw": ["1B", "S0", "SO", "1B", "S0"],|| "Giancarlo Stanton": ["HR", "SO", "3B", "S0", "2B"], def get_team(player): """Returns team that the provided player is a member of. >>> get_team ("Manny Machado") 'Dodgers' >>> get_team("Aaron Judge") 'Yankees' IIIIII "*** YOUR CODE HERE ***" def get_stats(player): """Returns the statistics associated with the provided player. >>> get_stats ("Manny Machado") ['SO', '1B', '3B', 'SO', 'HR'] >>> get_stats('Aaron Judge') ['SO', 'HR', 'HR', '1B', 'S0'] IIIII "*** YOUR CODE HERE ***"
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started