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)
Answer. 7.
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments
Leave a comment