+ 4
For what value of n would g(47,n) return 5? If there are multiple possibilities write one....
def g(m,n): res=0 While m>=0: (res,m)=(res+1,m-n) return(res)
2 Antworten
+ 8
4, 10, 11
0
Thank you..
def g(m,n): res=0 While m>=0: (res,m)=(res+1,m-n) return(res)