Hi, i'm new to programming and i was wondering if someone could explain this to me because I'm not understanding what this operand does:
heres the code:
def cube(number):
return number ** 3
def by_three(number):
if number % 3 == 0:
return cube(number)
print "This is True"
else:
return False
print "This is False"
can someone explain this certain piece:
if number % 3 == 0:
- I have taken the liberty of reformatting your post. Please use ['code'] tags next time.