id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

 

amgreyson@gmail.com algebra-1 > hasRealSolution
prev  |  next  |  chance

Given the a, b, and c values for a quadratic equation, return False if the quadratic equation has no real solutions. Return True if it does.


hasRealSolution(-2, -6, -3) → True
hasRealSolution(2, -3, 4) → False
hasRealSolution(3.1, 6.1, 2.1) → True

...Save, Compile, Run (ctrl-enter)

def hasRealSolution(a,b,c):

Editor font size %:
Shorter output


Forget It! -- delete my code for this problem

Progress graphs:
 Your progress graph for this problem
 Random user progress graph for this problem
 Random Epic Progress Graph

Python Help

Difficulty: 175 Post-solution available

Copyright Nick Parlante 2017 - privacy