Question d’entretien chez GE Digital

Using Python, solve power triangle and output result in console.