logo CodeStepByStep logo


Language/Type: Python parameters return

Write a function named average_of_2 that takes two integers as parameters and returns the average of the two integers. For example, the call of average_of_2(2, 9) should return 5.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.