pelid / 7_mistery_fix

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Quadratic Equations Solver

Function get_roots(a, b, c) return tuple with roots of quadratic equation, if there is no valid roots function returns: None, None.

How to Use

root1, root2 = get_roots(a, b, c)

How to Launch Tests

in case of success output is the following:

python tests.py
....
----------------------------------------------------------------------
Ran 4 tests in 0.001s

OK

Project Goals

The code is written for educational purposes. Training course for web-developers - DEVMAN.org

About


Languages

Language:Python 100.0%