Create a function which checks a number for three different properties.

- is the number prime?
- is the number even?
- is the number a multiple of 10?

Each should return either true or false, which should be given as an array. Remark: The Haskell variant uses `data Property`.

### Examples
```python
number_property(7)  # ==> [true,  false, false] 
number_property(10) # ==> [false, true,  true] 
```
The number will always be an integer, either positive or negative. Note that negative numbers cannot be primes, but they can be multiples of 10:

```python
number_property(-7)  # ==> [false, false, false] 
number_property(-10) # ==> [false, true,  true] 
```

Difficulty: introductory

Starter code:

def number_property(n):
	

Solutions:
import math

def number_property(n):
    return [isPrime(n), isEven(n), isMultipleOf10(n)]
    # Return isPrime? isEven? isMultipleOf10?
    #your code here

def isPrime(n):
    if n <= 3:
        return n >= 2
    if n % 2 == 0 or n % 3 == 0:
        return False
    for i in range(5, int(n ** 0.5) + 1, 6):
        if n % i == 0 or n % (i + 2) == 0:
            return False
    return True
    
def isEven(n):
    return n % 2 == 0

def isMultipleOf10(n):
    return n % 10 == 0

def number_property(n):
    return [n == 2 or n > 2 and pow(2, n-1, n) == 1,
            not n % 2,
            not n % 10]

import random

CERTAINTY = 10  # False positive rate: 4 ** -CERTAINTY


def number_property(n):
    return [is_prime(n), n % 2 == 0, n % 10 == 0]


def is_prime(n, k=CERTAINTY):
    if n == 2 or n == 3:
        return True
    if n < 2 or n % 2 == 0:
        return False

    s, d = _factorize(n - 1)

    for _ in range(k):
        a = random.randint(2, n - 2)
        x = pow(a, d, n)
        if _is_witness(x, n, s):
            return False

    return True  # Probably


def _factorize(n):
    i = 0
    while n % 2 == 0:
        n >>= 1
        i += 1
    return i, n


def _is_witness(x, n, s):
    if x == 1 or x == n - 1:
        return False

    for _ in range(s - 1):
        x = pow(x, 2, n)
        if x == 1:
            return True
        if x == n - 1:
            return False

    return True

def number_property(n):
    ans=[False,False,False]
    j=[]
    k=[]
    if n>1:
     for x in range(2,int(n ** 0.5)+ 1):
      j.append(x)
      if n%x:
        k.append(x)
     if k==j:
      ans[0]=True
    if n%2==0:
      ans[1]=True
    if n%10==0:
      ans[2]=True
    return ans

import math

def number_property(n):
    return [isprime(n), n % 2 == 0, n % 10 == 0]

def isprime(fltx):
    if fltx == 2: return True
    if fltx <= 1 or fltx % 2 == 0: return False
    return all(fltx % i != 0 for i in range(3,int(math.sqrt(fltx))+1,2))