Sunday, July 13, 2014

Day 99

Python at CodeCademy. Worked on Python tutorial 6 of 19, Functions, Practice Makes Perfect! Worked some more with functions.

The code used:
def cube(number):
    return number**3

def by_three(number):
    if number % 3 == 0:
        return cube(number)
        return False

There was no interaction for this code:

No comments:

Post a Comment