id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

 

ferrer@hendrix.edu > or35
prev  |  next  |  chance

Return true if the given non-negative number is a multiple of 3 or a multiple of 5. Use the % "mod" operator.


or35(3) → True
or35(10) → True
or35(8) → False

...Save, Compile, Run (ctrl-enter)

def or35(n):

Editor font size %:
Shorter output


Forget It! -- delete my code for this problem

Progress graphs:
 Your progress graph for this problem
 Random user progress graph for this problem
 Random Epic Progress Graph

Python Help

Difficulty: 140

Copyright Nick Parlante 2017 - privacy