Question: pyhton code Q4. Write a function add_sub (x: float, y: float) -> (float, float) such that it can accept two variables and calculate the addition
Q4. Write a function add_sub (x: float, y: float) -> (float, float) such that it can accept two variables and calculate the addition and subtraction of it. The function must return both addition and subtraction in a single return call
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
