# Answer to Question #3360 in Python for mukunda

Question #3360

Write a program to perform calculator operations by defining functions?

Expert's answer

def calc_mul (a, b):

return a * b

def calc_add (a, b):

return a + b

def calc_sub (a, b):

return a - b

def calc_div (a, b):

return a / b

a, b, c = 10, 20, 30

return a * b

def calc_add (a, b):

return a + b

def calc_sub (a, b):

return a - b

def calc_div (a, b):

return a / b

a, b, c = 10, 20, 30

Need a fast expert's response?

Submit orderand get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

## Comments

## Leave a comment