Question: NEED ANSWER ASAP PLEASE THANK YOU!!! Write a program in python which reads in numbers from the keyboard, one per line, until it gets a

NEED ANSWER ASAP PLEASE THANK YOU!!!
Write a program in python which reads in numbers from the keyboard, one per line, until it gets a zero. For each number, print out whether it is prime. After the zero is read, print out (in this order):
the number of values entered,
how many were prime,
how many were not prime (do not count the zero),
the highest prime number,
the lowest prime number.
For this program, a prime number is any whole number greater than or equal to 2 that is not divisible by any values other than the number 1 and itself.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!