Topic: Mathematics Problem / Level: beginner

Problem: Write a function to generate the first n prime numbers.

Run the code to see the output here...