Question: 1 0 . in python Use a text file with the names of 1 0 major league sports franchises in order by region ( Must

10. in python Use a text file with the names of 10 major league sports franchises in order by region (Must have both the St. Louis Cardinals (baseball) and the Arizona Cardinals (football) as well as the San Francisco Giants (baseball) and the New York Giants (football) Don't use Oklahoma City Thunder. Usings lists, write a program that displays the file in alphabetical order. Finding the length of the list as well as the index of items. Your code should also list teams with the same name (hint:duplicate values). Finally, slice the list to show the teams on the West coast. Finally, the Oklahoma City Thunder is a relatively new team, use insert() to add them in alphabetical order.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!