The largest prime less than 100
Write code · Medium · §7.6 Nested loops and the first math helper
Find the largest prime number that is less than limit, and store it in largest. Count down from the top and stop at the first prime you find.
Starter code
limit = 100Solve this problem in your browser
Python runs in your browser and checks your answer right away. Hints and the answer are on the problem page.