MCQOPTIONS
Saved Bookmarks
| 1. |
What is the output of the following piece of code? def test(i,j): if(i==0): return j else: return test(i-1,i+j) print(test(4,7)) |
| A. | 13 |
| B. | 7 |
| C. | Infinite loop |
| D. | 17 |
| Answer» B. 7 | |