logo CodeStepByStep logo

larger_abs_val

Language/Type: Python math parameters return

Write a function named larger_abs_val that takes two integers as parameters and returns the larger of the two absolute values. For example, a call of larger_abs_val(11, 2) would return 11, and a call of larger_abs_val(4, -5) would return 5.

Function: Write a Python function as described, not a complete program.

You must log in before you can solve this problem.

Log In

Need help?

Stuck on an exercise? Contact your TA or instructor.

If something seems wrong with our site, please

Is there a problem? Contact us.