Skip to content

Choose Your Pokemon

Andrew Burke edited this page Apr 10, 2024 · 1 revision

Unit 3 Session 1 (Click for link to problem statements)

U-nderstand

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.

P-lan

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-mplement

i_choose_you(["Pikachu", "Charizard", "Eevee")
Clone this wiki locally