Ask your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW) 18 Online
OpenStudy (anonymous):

[Set 1b] for num in range(start,n): print log(num) This gives all the logs; how would I get the sum of all the logs

OpenStudy (espex):

Add the new log to a running total. total += log(num)

OpenStudy (anonymous):

Thanks! It worked

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!