Exercise: Product of Two Positive Integers

Challenge yourself with an exercise in which you'll have to find the product of two positive integers.

We'll cover the following

Problem

Given two numbers, find their product using recursion. In Python, we usually use the * operator to multiply two numbers, but you have to use recursion to solve this challenge. Make use of the hint given below.

Get hands-on with 1400+ tech skills courses.