[solved] – Question 92389
What does h(3231) return for the following function definition?
def h(x):
(m,a) = (1,0)
while m <= x:
(m,a) = (m*2,a+1)
return(a)
Expert Answer
OR
What does h(3231) return for the following function definition?
def h(x):
(m,a) = (1,0)
while m <= x:
(m,a) = (m*2,a+1)
return(a)
OR