Citadel Securities interview question

Write a Python code to determine if an integer is prime