Mar-25-2017, 02:14 AM
(Mar-25-2017, 01:45 AM)ichabod801 Wrote: That's not really going to work. Creating a new variable for each team is going to be a problem. Especially since 'Manchester United' is not a valid variable name (variable names can't have spaces in Python).
This would work much better with a dict:
teams = {'Arsenal': ['David Ospina', 'Kieran Gibbs'], 'Chelsea': ['Jock Cameron', 'Jack Cock'], ...}
thank you really appreciate that but what im struggling on is how to i add the option to add/remove players from the certain teams
thanks again