Home /
Expert Answers /
Computer Science /
consider-the-following-two-equivalent-programs-written-in-python-and-c-respectively-def-a-b-pa427
(Solved):
Consider the following two equivalent programs written in Python and C++ respectively. def \( a(b) ...
Consider the following two equivalent programs written in Python and C++ respectively. def \( a(b): \) if \( b<0: \) return \( b \) \( a(b-1) \) return \( b \) \( a(5) \) How often is the function a() called in the above equivalent Python / C++ programs? Select one: A. 9 B. 5 C. 7 D. 6 E. 1