Sierra Wireless Interview Question

Write code using Python or java on prime numbers between 1and 20