Frage im Vorstellungsgespräch bei Citadel Securities

Write a Python code to determine if an integer is prime