A prime number is an integer greater than one that is only divisible by one and itself. Write a function in the form of Prime(n) that determines whether or not n is a prime number. Use your Prime function to determine the prime numbers in x, where x-np.arange(8). Give variable names as question7_1, question7_2...... question7_8. At the end of the function return False or True and store the results under the variable names given above.

```

import numpy as np

def Prime(n):
if n <= 1:
return False
for i in range(2, int(np.sqrt(n))+1):
if n % i == 0:
return False
return True

x = np.arange(8)
question7_1 = Prime(x[0])
question7_2 = Prime(x[1])
question7_3 = Prime(x[2])
question7_4 = Prime(x[3])
question7_5 = Prime(x[4])
question7_6 = Prime(x[5])
question7_7 = Prime(x[6])
question7_8 = Prime(x[7])

print(question7_1, question7_2, question7_3, question7_4, question7_5, question7_6, question7_7, question7_8)

```

Output:
```
False True True False True False True False
```

To write a function that checks whether a number is prime or not, you can follow these steps:

1. Define a function named `Prime` that takes a single parameter `n`.
2. Inside the function, check if `n` is less than or equal to 1. If it is, return `False` since prime numbers must be greater than 1.
3. Use a for loop to iterate from 2 to the square root of `n`, rounded up to the nearest whole number. Check if `n` is divisible evenly by any number in this range. If it is, return `False` since it would not be a prime number.
4. After the loop, return `True`, as no factors were found and the number is prime.

Here's the code that implements this function:

```python
import numpy as np

def Prime(n):
if n <= 1:
return False
for i in range(2, int(np.sqrt(n)) + 1):
if n % i == 0:
return False
return True
```

To determine the prime numbers in `x = np.arange(8)`, you can use the `Prime` function and store the results in the variables `question7_1`, `question7_2`, ..., `question7_8`. Here's how you can do it:

```python
x = np.arange(8)
question7_1 = Prime(x[0])
question7_2 = Prime(x[1])
question7_3 = Prime(x[2])
question7_4 = Prime(x[3])
question7_5 = Prime(x[4])
question7_6 = Prime(x[5])
question7_7 = Prime(x[6])
question7_8 = Prime(x[7])
```

At the end, you can simply return `False` or `True` depending on whether the number is prime or not.