Question: 12. Create a while loop to print the numbers from 1 to 100 but stop the loop early if the number is divisible by 5

12. Create a while loop to print the numbers from 1 to 100 but stop the loop early if the number is divisible by 5 and 7 using break. Your while loop condition must be set to stop at 100 and must contain an if statement that includes a test involving % 5 and \% 7. 13. Use print() to print each loop output on new line. Refer below an example of running your program. The lines in bold show where random numbers will show up, so your results should be different. 14. Run your program. Make sure it runs. Take screenshot of program output showing
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
