
def PGPrixht1():
    pxttc = float(input("Prix TTC (en euros)? "))
    TAUXTVA = 18.6 / 100
    pxht = pxttc / (1 + TAUXTVA)
    print("Le prix hors-taxe est {:.2f} euros".format(pxht))
    tva = pxttc - pxht
    print("La tva est de {:.2f} euros".format(tva))

PGPrixht1()