Question: please do this in python 3.8 using the given program Question 1 (10 points) Finding the oth Prime Number Write a well-documented Python program, hmwk3Q1.py
please do this in python 3.8 using the given program


Question 1 (10 points) Finding the oth Prime Number Write a well-documented Python program, hmwk3Q1.py that finds the Mth prime number by extending hmwk2Q3.py, which finds the prime number for a single number. Have your program query the user for the integer M. Print the value of the 908th prime number and record it as a comment in your Python program. Hints: Re-use hmwk2Q3.py software by embedding it in a while-loop. The while-loop continues to call upon the prime number code until it finds the 908th prime number. Make sure that inside the while-loop you implement a counter, which is incremented when a prime number is found. Grading: Comments (+2 points). Input software to query for M (+2 points).A correct while-loop (+4 points). The correct value for the Mth prime number as a comment (+2 points). File Edit Format Run Options Window Help 1 ## Python hmwk2Q3.py 2 ## ENG 101-01 3 ## Chase Bair 4 ## Due Date: 01/29/2020 6 print("Is The Integer Prime?") 7 N=int (input("Enter an integer: ")) 8 a=N>1 9 for i in range (2,N): if N$i==0: a=False 2 if a: print (N, "is Prime") 4 else: print (N,"is not a Prime")
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
