Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Introduction
Quiz
4. Question 3
Summary

Instruction

Perfect! Finally, how about functions and loops?

Exercise

Write a function named print_multiples(n, max) that prints all multiples of n that are less than or equal to max, each on a separate line.

For instance, print_multiples(3, 11) should print:

3
6
9