how to solve the quadratic equasion python

Solving the quadratic equasion with python

Python

I started a new python data mining course that started from python basics. Won't be posting the basic stuff here until I get to the more interesting stuff with pandas, numpy, sckit-learn and matpilotlib. Just a fun little way to solve the quadratic function

# Solves the quadratic equasion

def quadSol(a,b,c):

v = (b**2) - (4*a*c)

xplu = -b-(m.sqrt(v))/2*a

xm = (-b+m.sqrt(v))/(2*a)

print("(" + str(xplu)+ " , " + str(xm) + ")")

def main():

a = 1

b = 5

c = 6