Generation

generate functionSat, 12 Nov 2022

Input a string correlating to a football team and return the roster of that football team as an array

def football_team(team): if team == 'jaguars': return ['Marqise Lee', 'Allen Hurns', 'Allen Robinson', 'T.J. Yeldon', 'Toby Gerhart', 'Denard Robinson'] elif team == 'browns': return ['Isaiah Crowell', 'Terrance West', 'Duke Johnson', 'Travis Benjamin', 'Gary Barnidge'] else: return 'Not a good football team' football_team('jaguars')

Want to kickstart your project?Use the new AI Studio to create your code