Answer to Question #92390 in Python for AKHILA

Question #92390
What is g(24) - g(23), given the definition of g below?

def g(n):
s=0
for i in range(1,n+1):
if n%i == 0:
s = s+1
return(s)
1
Expert's answer
2019-08-08T05:23:38-0400

g(24) - g(23) = 6


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