I am just starting out on programming and my first personal assignment is to find the 1000th prime number. I think this code is correct, but it lists the first 1000 odd numbers instead. Any insight?

```
count = 1
num = 3
prime = [2]

while count <= 1000:
    for x in range(2, num + 1):
        if num % x == 0 and num == x:
            prime.append(num)
            num += 2
    count += 1

print(prime[1000])

```