185k views
3 votes
Code Example 4-3 main program: import arithmetic as a def main(): num1 = 5 num2 = 6 result = a.add(num1, num2) print("The sum is", result) if __name__ == "__main__": main() arithmetic module: def add(x = 4, y = 2): z = x + y return z Refer to Code Example 4-3: What values are in x and y after the code runs? Select one:

a. 4, 2
b. 20, 12
c. 5, 6
d. 9, 8

1 Answer

0 votes

Answer:

Option B.

Step-by-step explanation:

User BaptWaels
by
5.9k points