or_35¶
Return true if the given non-negative number is a multiple of 3 or a multiple of 5. Use the % “mod” operator – see Introduction to Mod
This exercise was taken from codingbat.com and has been adapted for the Python language. There are many great programming exercises there, but the majority are created for Java.