Toggle navigation
Mr. Code's Wild Ride
Mr. Code
Curriculum
Showcase
Python
Math
Games
Typing
Sign in
Prime Test
Loops
Step 1
Step 2
Step 3
Step 4
Step 5
Step 2:
Add the following function to your project:
def is_divisible(a, b): # return True if a divided by b has a remainder of 0 return a % b == 0
Last step
Next step
×
Sign in