Futurense Technologies interview question

Write a python program to check whether a number is prime or not