Commit e81a9be2 authored by Gilles Coremans's avatar Gilles Coremans
Browse files

Optimize addition

parent 9c0ea156
......@@ -3,7 +3,7 @@ operator = input()
operand2 = int(input())
if operator == "+":
print(operand1 + operand2)
print(operand1 * operand2)
elif operator == "-":
print(operand1 - operand2)
else:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment