Anyone want to check out my code for problem 1 (a)? It works, I am just looking for tips moving forwards.
print 'Currently Calculating Primes...'
primeCount=1
primeArray=[]
a=0
while a < 1000:
primeCount = primeCount + 1
if primeCount == 2:
primeArray.append(primeCount)
a=a+1
elif (primeCount/2)*2 != primeCount:
false = 0
for j in primeArray:
if primeCount%j == 0:
false = 1
break
if false == 0:
primeArray.append(primeCount)
a=a+1
print str(primeArray[999])

See more answers at brainly.com

Looking for something else?

Not the answer you are looking for? Search for more explanations.