- 
                Notifications
    
You must be signed in to change notification settings  - Fork 266
 
Choose Your Pokemon
        LeWiz24 edited this page Aug 22, 2025 
        ·
        3 revisions
      
    Unit 3 Session 1 (Click for link to problem statements)
Understand what the interviewer is asking for by using test cases and questions about the problem.
- When we call the function, what will the input parameter be used for?
- It is a list of strings to loop over and add to the print statement.
 
 
Plan the solution with appropriate visualizations and pseudocode.
General Idea: Call the function with the input of strings to print out sequentially.
1) Determine the list of strings we want to print in front of " I choose you!"
2) Call the function with that list of strings as the inputdef choose_pokemon(my_pokemon):
	for pokemon in my_pokemon:
		print(f"{pokemon} I choose you!")
choose_pokemon(["Pikachu", "Charizard", "Eevee"])