---
# System prepended metadata

title: Prime numbers

---

# Prime numbers

Write a function that returns prime number smaller than N

Prime numbers: 2, 3, 5, 7, 11

5
6 / 3 => 2 => not a prime


```python=3.8
def get_primes(N):
    
    for k in range( len(N)):
       if k != 0 && k != 1:
            if N % k == 0:
               printf (" This is prime number ")
      else: 
        printf("This is not prime number")
    return
```