0
What is the value of f(255) for the function below?def f(x): d=0 while x >= 1: (x,d) = (x/4,d+1) return(d)
please describe the question and answer
1 Resposta
0
wrong syntax.
your function takes argument of x, initialize d to b zero.
if the syntax were correct, it look like n infinite loop