NBA Teams List Write a program that starts off with a list of NBA teams in the program (see bottom for data that is to be preloaded upon start). The program should display a menu and not exit the...

NBA Teams List Write a program that starts off with a list of NBA teams in the program (see bottom for data that is to be preloaded upon start). The program should display a menu and not exit the program/menu until the user decides to exit. The menu should be able to do all of the following eleven functions: 1) Show a print out to the user the NBA teams in the NBA Teams List a. Must use a loop through method b. Must have a prompt or header 2) Indicate to the user how many teams are in the NBA Teams List a. Must be displayed in a sentence format 3) Indicate to the user if the requested NBA team exists or not in the NBA Teams List a. Must be displayed in a sentence format 4) Return the index number of a requested NBA Team a. Must be displayed in a sentence format b. Must inform the use if the NBA Team is not found in a sentence format 5) The program must be able add an NBA Team to the list of NBA Teams a. Confirm to the user that the NBA Team was added in a sentence i. Also, to show it was done should run #1 6) The program must be able to remove an NBA Team from the NBA Teams List a. Confirm the NBA Team was removed from the NBA Teams List in a sentence i. Also, to show it was done should run #1 7) The program must be able to sort NBA Teams List a. Confirm the NBA Teams List was sorted in a sentence i. Also, to show it was done should run #1 8) Indicate to the user the first NBA Team listed in a sorted NBA Teams List a. Must be displayed in a sentence format 9) Indicate to the user the last NBA Team listed in a sorted NBA Teams List a. Must be displayed in a sentence format 10)Copy the NBA Teams List into a new list that the user names and display both lists with proper header or prompt 11) The program should continue to run (start over with the menu) until the user indicates for it to stop The following list of dog types that should exist in the program on the startup of the program: Spurs, Lakers, Suns, Bucks, Heat, Warriors Program parameters: • Do not ‘import’ any outside libraries/packages • Input and Output ▪ Properly formatted text displayed for both input prompt and output results ➢ Well written user prompts ➢ Well written output display (including formatting) ✓ Amount displayed as currency (when appropriate) • If / else / elif statements (whichever is appropriate) • Repetition Structure (*minimum of one) ▪ do not use ‘break’ to stop looping ▪ do not use ‘sys.exit(0)’ to stop looping • Must contain several return functions • Must contain your name at the top of the Code (as a comment) • Must contain extensive comments in the code for reading clarity • Use of techniques not covered in the chapters prior to the exam will be penalized. ▪ This usually occurs when students Google instead of using the textbook.
Nov 04, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here