Methods, Blocks, & Sorting

Practice Makes Perfect

You won't become a Master Method Maker 'til you make a mess of methods. (Say that three times fast.)

def by_five?(n)
  return n % 5 == 0

The example above is just a reminder on how to define a method.

Community Forums
Get help and ask questions in the Codecademy Forums
Report a Bug
If you see a bug or any other issue with this page, please report it here.