diff options
Diffstat (limited to 'progs/a279.py')
-rw-r--r-- | progs/a279.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/progs/a279.py b/progs/a279.py new file mode 100644 index 0000000..11ac149 --- /dev/null +++ b/progs/a279.py @@ -0,0 +1,7 @@ +def Check_Solution(a,b,c) :
+ if ((b*b) - (4*a*c)) > 0 :
+ return ("2 solutions")
+ elif ((b*b) - (4*a*c)) == 0 :
+ return ("1 solution")
+ else :
+ return ("No solutions")
\ No newline at end of file |