-
Notifications
You must be signed in to change notification settings - Fork 242
Choose Your Pokemon
Andrew Burke edited this page Apr 10, 2024
·
1 revision
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 input
i_choose_you(["Pikachu", "Charizard", "Eevee")