# Solving ax^2 + bx + c = 0
from math import *
a = 1
b = 3
c = -4
D = b*b-4*a*c # determinant
if D >= 0:
# indented lines below executed only if expression is true
x1 = (-b + sqrt(D)) / (2*a) # 1st root
x2 = (-b - sqrt(D)) / (2*a) # 2nd root
print (x1, x2)
print ("End of execution")