Write code to print the first 50 prime numbers.
Implement first_50_primes() with no arguments. It must return the first 50 prime numbers in ascending order; the caller may print the returned list. Treat numbers below 2 as non-prime and test divisors only through the candidate's square root.
def first_50_primes():