Function for Calculating Sum and Product of Three Arguments

  • Share this:

Code introduction


Define a function that takes three arguments and returns the product of the sum of the first two arguments and the third argument.


Technology Stack : Built-in operators

Code Type : Mathematical operation function

Code Difficulty :


                
                    
def aaaa(arg1, arg2, arg3):
    return (arg1 + arg2) * arg3