Q26Numerical3 Marks3 Sep 2023
What is the output of the following snippet of code?
```
def log_func(x, y):
if x < y:
return 0
return 1 + log_func(x // y, y)
log1 = log_func(256, 16)
log2 = log_func(16, 2)
log3 = log_func(27, 3)
print(log1 + log2 + log3)
```
Press Enter to check.