Commit 4f2ebcd9 authored by Marcus M. Darden's avatar Marcus M. Darden

Finishing class...

parent 48c6c643
#!/usr/bin/env python3
def add(arg1, arg2):
return arg1 + arg2
def subtract(arg1, arg2):
return arg1 - arg2
import operator
'+': add,
'-': subtract,
'+': operator.add,
'-': operator.sub,
'*': operator.mul,
'/': operator.truediv,
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