From 3d3539930a322aae3041fb21d44b03735ba8e34d Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Tue, 26 Jan 2021 16:26:16 +0100 Subject: [PATCH] =?UTF-8?q?Une=20indentation=20doit=20=C3=AAtre=20un=20mul?= =?UTF-8?q?tiple=20de=204=20espaces?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Yohann D'ANELLO --- main.py | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/main.py b/main.py index d6ce4de..5edac50 100644 --- a/main.py +++ b/main.py @@ -45,39 +45,39 @@ def calcul(a, b, c, operation = '+'): L'opĂ©ration peut ĂȘtre +, -, *, /, &, |, ^, % ou l'un de ses alias anglais. """ if operation == '+': - result = a + b + result = a + b if operation == 'sum': - result = a + b + result = a + b if operation == 'add': - result = a + b + result = a + b if operation == '-': - result = a - b + result = a - b if operation == 'sub': - result = a - b + result = a - b if operation == '*': - result = a * b + result = a * b if operation == 'mul': - result = a * b + result = a * b if operation == 'prod': - result = a * b + result = a * b if operation == '/': - result = a / b + result = a / b if operation == 'div': - result = a / b + result = a / b if operation == '&': - result = a & b + result = a & b if operation == 'and': - result = a & b + result = a & b if operation == '|': - result = a | b + result = a | b if operation == 'or': - result = a | b + result = a | b if operation == '^': - result = a ^ b + result = a ^ b if operation == 'xor': - result = a ^ b + result = a ^ b else: - result = a % b + result = a % b return c == result