Problem
Write the function average_of_primes(L) that takes in a list of integers and returns the average of all the prime numbers in the list. For convenience, the is_prime function has been implemented for you as it is written in the lecture video. If you'd like an extra challenge, try writing it from scratch.