Question: Write a python program that will output the following for the numbers 1 - 100. a yes if the number is divisible by 3 a
Write a python program that will output the following for the numbers 1 - 100.
a "yes" if the number is divisible by 3
a " no" if the number is divisible by 5
a " maybe" if the number is divisible by both 3 and 5
the number itself if none of the above.
Here are the first 5 outputs: 1, 2, yes, 4, no, ...
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
