Racine V1
Conditions d’achèvement
# -*- coding: utf-8 -*-
"""
Created on Thu Sep 21 11:10:11 2017
@author: vmahout
"""
import math
a= int(input('Valeur de a :'))
b= int(input('Valeur de b :'))
c= int(input('Valeur de c :'))
Det = (b**2)-4*a*c
V1 = (-b-math.sqrt(Det))/2
V2 = (-b+math.sqrt(Det))/2
print('Les deux racines valent respectivement {0:.2f} et {1:.2f}'.format(V1,V2))