+ 2
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 Réponses
+ 1
HonFu now can u do it?
0
Can you please edit your question?
There are several mistakes in that code: Indentation wrong, colon missing...