+ 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)

5th Feb 2019, 3:31 PM
Uthaya Sandeep
Uthaya Sandeep - avatar
2 Réponses
+ 8
4, 10, 11
5th Feb 2019, 4:29 PM
Anna
Anna - avatar
0
Thank you..
5th Feb 2019, 5:04 PM
Uthaya Sandeep
Uthaya Sandeep - avatar