LearnPy Hub
← If…Else problems
Medium

How Many Real Roots?

Read a, b and c of a quadratic ax² + bx + c (a ≠ 0). Print two, one or none depending on the discriminant b² − 4ac.

Input

Three integers.

Output

One word.

Sample 1

Input
1
-3
2
Output
two

Sample 2

Input
1
2
1
Output
one
solution.py
Output appears here
How Many Real Roots? · Python practice problem · LearnPy Hub