Skip to content

Commit 3b3b7e4

Browse files
authored
Update perform_operation2.py
1 parent fb38efa commit 3b3b7e4

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

working-with-the-python-operator-module/perform_operation2.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1+
from operator import add, sub, mul, truediv
2+
13
def perform_operation(operator_function, operand1, operand2):
24
return operator_function(operand1, operand2)
35

4-
5-
from operator import add, sub, mul, truediv
6-
76
number1 = 10
87
number2 = 5
98

0 commit comments

Comments
 (0)