0

For what value of n would g(57,n) return 7?

def g(m,n): res = 0 while m >= n: res = res+1 m = m-n return(res)

21st Jan 2021, 3:37 PM
Venkata Pavan Mareedu
2 Réponses
0
We are not here to find solutions of your codes or to do your job in your place😉 Anyway the answer is 8 Have a good day!
21st Jan 2021, 4:38 PM
Hisham YUM 🇲🇦
Hisham YUM 🇲🇦 - avatar
0
def mystery(l): l = l[0:5] return() list1 = [44,71,12,8,23,17,16] mystery(list1)
30th Jan 2024, 3:15 PM
Manikanta