Skip to content

Commit bd2076f

Browse files
authored
Update 2 perform_operation2.py
1 parent 2fc787c commit bd2076f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
from operator import add, sub, mul, truediv
22

3+
34
def perform_operation(operator_function, operand1, operand2):
45
return operator_function(operand1, operand2)
56

7+
68
number1 = 10
79
number2 = 5
810

0 commit comments

Comments
 (0)