Question: Use Python to solve this problem Question 2 (is prime.py): Pick a random positive integer number and determine whether the number is prime or not.
Question 2 (is prime.py): Pick a random positive integer number and determine whether the number is prime or not. (For those who have forgotten, a prime number is a number that has no divisors, other than 1 andtslf You should use your answer to Question 1 to help you. Take this opportunity to practice using functions. A sample output from this program is printed below Is 5 a prime number? True Is 6 a prime number? False Is 123 a prime number? False Is 127 a prime number? True
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
