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:29 am
by answerhappygod
Write a python program that will ask the user for a positive number x (use while loop and try/except block for error handling) and displays all prime numbers between 2 and x. Hint: You will have to use the nested loop.​ (Submit a python code