Question: Create a function called isDivisible that takes two numbers as parameters, determines whether the first number is divisible by the second number or not. The

Create a function called isDivisible that takes two numbers as parameters, determines whether the first number is divisible by the second number or not. The function should print the results.
Write a program to get two numbers, using the isDivisible function, deremine the first one is divisble by the second one or not.
Input:
a) python C:\Users
eda\DataProgramming\M3\assign3-2.py 264
b) python C:\Users
eda\DataProgramming\M3\assign3-2.py 306
Output:
a)26 is not divisible by 4.
b)30 is divisible by 6.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Question Which of the foliowing features does ... 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 Databases Questions!