Question #158048

What is the value of f(846) for the function below?

```
def f(x):
d=0
y=1
while y <= x:
d=d+1
y=y*3
return(d)
```

Expert's answer

**Answer. **7.

Learn more about our help with Assignments: Python

## Comments

## Leave a comment