Código:
y el error es primeCounter=1 candidate=3 while primeCounter != 5: while False: for divisor in range(2,candidate): if candidate%divisor==0: return False else: return True candidate=candidate+1 primeCounter=primeCounter+1 return True candidate=candidate+1 print 'el numero es', candidate
s1a-308881085.403.py", line 19
return False
SyntaxError: 'return' outside function
logout
Muchas gracias por todo!!