Answer to Question #80026 in Python for fff

Question #80026
What is the value of h(231,8) for the function below?

def h(m,n):
ans = 0
while (m >= n):
(ans,m) = (ans+1,m-n)
return(ans)
1
Expert's answer
2018-08-23T04:35:57-0400
The value of h(231,8) for the function below is 28.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS