Browse Source

Fix syntax.

Moul 3 years ago
parent
commit
aeac623cd0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      computorv1.py

+ 1 - 1
computorv1.py

@@ -113,7 +113,7 @@ def display(str, a, b, c, degree):
 		print("= 0\naX² + bX + c = 0")
 	print ("Équation de degré polynomial", end = " "); print(int(degree), "\n")
 
-def	solve_degree_2(a, b, c):
+def solve_degree_2(a, b, c):
 	delta = b**2 - 4 * a * c
 	print ("Calcul du discriminant :\nΔ = b² - 4ac\nΔ =", end = " ")
 	print ("{}² - 4 × {} × {}\nΔ = {}".format(b, a, c, round(delta, 3)))