Question: Task10: For the numbers from 1 to 100, write python code to find whether the number is: (1) Even or Odd (2) Divisible by 3

 Task10: For the numbers from 1 to 100, write python code

Task10: For the numbers from 1 to 100, write python code to find whether the number is: (1) Even or Odd (2) Divisible by 3 or not (3) Divisible by 5 or not and (4) Divisible by 10 or not. Show your results as given in table below: Number Divisible-by-10 No 1 Divisible-by-3 Divisible-by-5 No No No No Yes No No No No 2 3 No No 4 No Even/Odd is Odd is Even is Odd is Even is Odd is Ev is Odd is Even is Odd is Even Yes No 5 6 7 8 Yes No No No No No No No No Yes No 9 No Yes Yes 10 NO

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!