Skip to Content
Learn
Code Challenge: Control Flow
Divisible By Ten

divisible_by_ten(num)

Instructions

1.

Create a function called divisible_by_ten() that has one parameter named num.

The function should return True if num is divisible by 10, and False otherwise. Consider how to use modulo (%) to check for divisibility.

Folder Icon

Sign up to start coding

Already have an account?