Skip to main content

Foundations of Python Programming: Functions First

Section 12.3 Chapter Assessment

Checkpoint 12.3.1.

The list, numb, contains integers. Write code that populates the list remainder with the remainder of 36 divided by each number in numb. For example, the first element should be 0, because 36/6 has no remainder. If there is an error, have the value -1 appear in the remainder.

Checkpoint 12.3.2.

Provided is buggy code, insert a try/except so that the code passes.
You have attempted of activities on this page.