Skip to content

Product of Two Integers

Sar Champagne Bielert edited this page Apr 5, 2024 · 7 revisions

Unit 1 Session A

U-nderstand

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

  • Do I need to modify the provided function?
    • No.

P-lan

Plan the solution with appropriate visualizations and pseudocode.

General Idea: Use the product function to calculate a product, save it to a variable, then print that to the console.

I-mplement

def product(a, b):
	return a * b
Clone this wiki locally