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

help i don't speak english, and no undertand the problem PS1b, i need a page or paper where can read about this. thanks

OpenStudy (jhonny111s):

def is_prime(num): cont=0 j=num while j!=0: if num%j==0: cont=cont+1 j=j-1 if cont==2: return 1 else: return 0 please anybody explainme the exercise PS1b

OpenStudy (anonymous):

Use pastebin.com for posting code. its much easier to edit

OpenStudy (anonymous):

1. find the logs of the primes 2. add them together 3. up to but not including n 4. find the ratio of (all the added) logs and n

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!