New course! Every coder should learn Generative AI!
Try a free lesson+ 1
For what value of n would g(637,n) return 4?
def g(m,n): res=0 while m>=n: (res,m)=(res+1,m/n) return(res)
2 Answers
0
Can you please edit your question?
There are several mistakes in that code: Indentation wrong, colon missing...
0
HonFu now can u do it?