1
Scripting Languages / Re: Python help
« on: October 16, 2014, 10:07:59 pm »
oh so it divides and returns only the remainder of what you input.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
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"
if number % 3 == 0: