Test Informed Learning with Examples

Logo

Repository with assignments using the Test Informed Learning with Examples (TILE) method to integrate testing into existing programming courses for free.

Menu

LinkedIN Community

Join our LinkedIN Community.

The greatest common divisor of more than 2 numbers

Write a function gcd_3num that calculates the greatest common divisor of more than 2 numbers. To do this, use the function gcd (greatest common divisor of 2 numbers).

Write pytests to test your implementation.

Insist that the students test their programs by adding a line
telling them to do it.