Answered step by step
Verified Expert Solution
Question
1 Approved Answer
PYTHON 3 HELP PLEASE! Pokemon are fantastic creatures that people like to catch and train. For this question, you will write a program that allows
PYTHON 3 HELP PLEASE!
Pokemon are fantastic creatures that people like to catch and train. For this question, you will write a program that allows the user to keep track of the Pokemon they have caught, and then assemble a team from among the Pokemon caught that can be taken to the local Pokemon Gym for training Your program will have two phases. When the program first starts, it should repeatedly show a prompt to the user asking if they want to catch another Pokemon. Each time they say yes, the program should ask the user to enter the name of the Pokemon that was caught and it should be added to a list variable that holds the user's complete Pokemon collection. When they say no, the program should continue to the second phase. Get this part of the program working before going any further. Do not move on to the second part of the program until you know that the first part works In the second phase, the program will display the current Pokemon collection, as well as a list of Pokemon that have been added to the user's Gym Team (initially, this second list will be empty). A prompt will then ask the user to name the Pokemon from their collection that they would like to add to the Gym Team. The Pokemon entered should be removed from the first list (the Pokemon collection) and added to the Gym Team list. This process should continue until EITHER (a) there are 6 Pokemon on the Gym Team, or (b) all of the Pokemon from the collection have already been added to the Gym Team What to Hand In Here is an example of how your program's console output might look. Green text was entered by the user Time to catch some Pokemon! Which Pokemon have you caught? pikach Would you like to keep catching Pokenon Cy)? y So far you've caught Pikachu Which new Pokemon have you caught? vobuffet Would you like to keep catching Pokenon (y)? y So far you. caught pikachu wobuffet' Which new Pokemon have you caught? charmander would you like to keep catching Pokenon Cy)? y So far you've caught Pikachu wo buffet charm and J Which new Pokemon have you caught? bulbasaur Would you like to keep catching Pokenon (y)? Time to head to the Pokemon Gym! Pokemon in your collection Pikachu vobuffet charmander bulbasaur Pokemon on your Gym Team What Pokemon will you add to your team? Pikachu. I CHOOSE YOU PIKACHU Pokemon in your collection wobuffet. charmander bulbasaur Pokemon on your Gym Team C' pikachu What Pokemon will you add to your team? wobuffet
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started