Python Function to Check if a Number is Prime

Prompt

Result