Instruction
Great! Now that we have a list of clubs, we can ask a user for a club index.
Exercise
Create a function get_club_index(clubs) that accepts a sorted list of clubs and:
- Lists all the clubs' indexes with their names sorted ascending, each in the following format:
>> {index} {club}Here's an example:>> 0 LA Clippers >> 1 New York Knicks
- Asks the user to pick a club's index. Use the following prompt:
>>> Pick club index:
- Returns the user's choice as an integer.
Assume that the user always provides a correct index value.
Stuck? Here's a hint!
Because you want to print all clubs' indexes, use the following for loop:
for i in range(len(clubs)):
To get the index from user, use input() function. Remember to convert the result to an integer.



