Page 1 of 1

Write a python program that will ask the user for a positive number x (use while loop and try/except block for error han

Posted: Sun Jul 10, 2022 11:26 am
by answerhappygod
Write a python program that will ask the user for apositive number x (use while loop and try/except block forerror handling) and displays all prime numbers between 2 andx. Hint: You will have to use the nested loop.​ (Submit apython code)