Question: Python Consider the following function definition: def span(x, y, z=0): return max((x-y), (x-z)) What are valid ways to invoke the function span ? Check ALL
Python
Consider the following function definition:
def span(x, y, z=0): return max((x-y), (x-z))
What are valid ways to invoke the function span? Check ALL that apply.
Please note that there is a penalty for marking wrong answers.

result span(5) result-span(10, 2) result span(10, 2, 8) result-span(25, 2,z-1) result span) result span(z-5, y 3, x-10) result - span(25, 5, y-2) result span(25, y-2,2) result span(10, 2, 1, 6)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
