Q. What does def add(a, b): return a + b print(add(3, 4)) output?
Solution:
add(3, 4) returns 7, as the function adds the arguments and prints the result.
Get Question Bank
Strengthen Your Practice with our comprehensive question bank.
add(3, 4) returns 7, as the function adds the arguments and prints the result.
Strengthen Your Practice with our comprehensive question bank.