You Knew There'd Be Primes Somewhere
"Twin Primes" are two prime numbers whose difference is 2, meaning there's only 1 number that separates them. Write a function called am_i_surrounded. This function takes in one integer. If this number separates a pair of twin primes (meaning the number before AND after this integer are prime numbers), return True. Otherwise, return false.
This contest has ended. No more answers will be accepted.