Question: Write code that will print all the numbers between 1 and 100 that can divide by 6 (like 6, 12, 18,...) up to the number

Write code that will print all the numbers between 1 and 100 that can divide by 6 (like 6, 12, 18,...) up to the number 96.

Step by Step Solution

3.51 Rating (161 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Code for num in range1 101 if num 6 0 printnumend ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!