partie3_ex76.py

Created by cahier-indice-algo-1techno

Created on April 22, 2022

177 Bytes


from math import *

def sol(c):
    if c < 0:
        return "pas de solution"
    if c == 0:
        return 0
    if c > 0:
        return sqrt(c), -sqrt(c)