Skip to content
This repository was archived by the owner on Dec 8, 2023. It is now read-only.

Repository files navigation

Check_for_Factor_in_Python

License: AGPL Sonarcloud Status Vulnerabilities Build Status Can I Deploy main to test

Welcome to the Python Template created via a cookiecutter recipe. The project template is designed for a development via a Double Loop approach (BDD-TDD) using pytest and several other pytest libs.

Description

This function should test if the factor is a factor of base.

Return true if it is a factor or false if it is not.

About factors

Factors are numbers you can multiply together to get another number.

2 and 3 are factors of 6 because: 2 * 3 = 6

You can find a factor by dividing numbers. If the remainder is 0 then the number is a factor. You can use the mod operator (%) in most languages to check for a remainder For example 2 is not a factor of 7 because: 7 % 2 = 1

Note: base is a non-negative number, factor is a positive number.

About

No description, website, or topics provided.

Resources

Code of conduct

Contributing

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages