Sovi.AI - AI Math Tutor

Scan to solve math questions

QUESTION IMAGE

2025 - 2026 lll fundamentals of computing for adult education english u…

Question

2025 - 2026 lll fundamentals of computing for adult education english using functions instruction - assignment active question # 3 multiple choice which function will find the difference of 15 and 3 and return 12 when the main part of your program has answer = subtract(15,3)

Explanation:

Brief Explanations

The code answer = subtract(15,3) calls a function named subtract with arguments 15 and 3. The function that returns the difference of two input numbers (numA - numB) as in the code def subtract(numA, numB): return numA - numB is the correct one for finding the difference between 15 and 3 to return 12.

Answer:

The function def subtract(numA, numB): return numA - numB