Write a python program that will ask the user for a positive number x (use while loop and try/except block for error han
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Write a python program that will ask the user for a positive number x (use while loop and try/except block for error han
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)