Welcome to the first challenge! Today, we are writing a function in different programming languages to check if a number is prime.
A prime number is a number greater than 1 that is only divisible by 1 and itself. Common examples of prime numbers are 2, 3, 5, and 7.