Question: Filename: assign 3 - 2 . py Create a function called isDivisible that takes two numbers as parameters, determines whether the first number is divisible

Filename:
assign3-2.py
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:
Output:
a)26 is not divisible by 4.
b)30 is divisible by 6.
 Filename: assign3-2.py Create a function called isDivisible that takes two numbers

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!