- 1
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
Help me out
2 Réponses
0
12
0
12 or 1 depending on your indentation.
I just answered this quesion a couple of minutes ago in
https://www.sololearn.com/discuss/1929430/?ref=app