Hey!

I am doing the Pythonic Algorithms course of codeacademy: https://www.codecademy.com/es/courses/python-intermediate-en-NYXmc/0/1

I have done a check of prime numbers with a while:

```
num = int(raw_input("Dame u numero \n"))
creo_que_es_primo = True
divisor = 2
while divisor < num:
if num % divisor == 0:
creo_que_es_primo = False
break
divisor += 1
if creo_que_es_primo == True:
print "El nomero,", num, "Es primo"
print divisor
else:
print "El numero", num, "No es primo"
print divisor
```

But now i want to do this with a function def,:

```
creo_primo = True
divisor = 2
def isPrime(n):
while divisor < n:
if (n % divisor) == 0:
creo_primo = False
break
divisor += 1
return creo_primo
# Tests....
print isPrime(3) # Should output True
print isPrime(143) # Should output False
print isPrime(790003) # Should output True
```

But if i have this in the correct block!!