entering l makes a list of prime numbers. -------------------------------------------------------------------------------------------- entering p asks for an x value. once you enter in your number it outputs the number of primes before it. -------------------------------------------------------------------------------------------- entering t asks you for a number to test. It tells you if your number is prime or not.