A sample module named sample_module.py contained the following contents. def mul(x, y): """Multiplies two given numbers and returns the product. >>> mul(6, 7) 42 >>> mul(-8, 7) -56 """ return x * y What is the expected output when you run the doctests using below command? python -m doctest sample_module.py

Questions & AnswersCategory: Programming LanguageA sample module named sample_module.py contained the following contents. def mul(x, y): """Multiplies two given numbers and returns the product. >>> mul(6, 7) 42 >>> mul(-8, 7) -56 """ return x * y What is the expected output when you run the doctests using below command? python -m doctest sample_module.py
Adam asked 3 years ago

A sample module named sample_module.py contained the following contents.

def mul(x, y):

    """Multiplies two given numbers and returns the product.

    >>> mul(6, 7)

    42

    >>> mul(-8, 7)

    -56

    """

    return x * y

What is the expected output when you run the doctests using below command?
python -m doctest sample_module.py
a. No Output
b. Output stating 2 tests passed
c. Output stating 1 test passed
d. Output stating 1 failure