csci 4 :: programming project 2 (due by midnight on friday, oct 11)
Submitting your work:

Complete this exercise on your own.

Solve the problem described below by designing, implementing, and testing a Python program.

Email your Python module code to the instructor at before the deadline.


The purpose of this project is to give you an opportunity to practice the Python programming skills you have learned and will learn in the coming weeks.

For this project, you will implement a program that tests a series of numbers to see which ones are primes, and identify the smallest and largest primes encountered in the series. The series of numbers will be loaded from a text file. The numbers will all be in the range 2 to 9999.

Your program should function as follows:

Document your Python module using this sample as a guide.

You can find sample input files for this program here.

The starter file here contains a function that you can use to clear the screen, to improve the quality of your program output. We will talk about how to use this function in class.

Challenge yourself:

If you have time, enhance your program to include one or more of the following features:

Total points for this programming project:

600 points