<|im_start|>user
How can I implement a function to check if a number is prime in Python?<|im_end|>
<|im_start|>assistant
```python
def is_prime(n):
    """Check if a number is prime."""
    if n <= 1:
        return False
    for i in range(2, int(n**0.5) + 1):
        if n % i == 0:
            return False
    return True<|im_end|>

<|im_start|>user
How can I implement a function to check if a number is prime in Python?<|im_end|>
<|im_start|>assistant
```python
def check_prime(num):
    """Determine if a number is prime."""
    if num < 2:
        return False
    if num == 2:
        return True
    for i in range(2, num):
        if num % i == 0:
            return False
    return True
```<|im_end|>

How can I implement a function to check if a number is prime in Python?