✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
What will be the output (return value) of the following function if the initial call is “recfun3([11, 44, 33, 22, 66, 77], 0)”?
def recfun3(L, x): if len(L) == 0: return x else: y = max(x, L[0]) return recfun3(L[1:], y)