Skip to content

Lunch Menu

Sar Champagne Bielert edited this page Apr 8, 2024 · 4 revisions

Unit 1 Session A

U-nderstand

Understand what the interviewer is asking for by using test cases and questions about the problem.

  • Should the function always print the same food item?
    • No. It should print whatever food item was used when the function was called.
  • Does it matter which emoji I use?
    • Not really, but the output will make more sense if you use a food emoji.

P-lan

Plan the solution with appropriate visualizations and pseudocode.

General Idea: Use the provided function to print out an emoji representing today's lunch.

I-mplement

print_menu("🍕")
Clone this wiki locally