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

How do you find the prime number, I am trying now, but I am not sure if this is right? Thanks. x = 1 y = 1 z = 0 HowManyTimes = z prime = y if y == 1: y = HowManyTimes + x while(HowManyTimes<1000): HowManyTimes = HowManyTimes + 1 y = y * prime print(prime) print(HowManyTimes)

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!