Skip to content

Instantly share code, notes, and snippets.

@maryrosecook
Created January 22, 2018 14:16
Show Gist options
  • Save maryrosecook/33dc937688b2b1c6eeb1965f9b818f0e to your computer and use it in GitHub Desktop.
Save maryrosecook/33dc937688b2b1c6eeb1965f9b818f0e to your computer and use it in GitHub Desktop.
# Use test-driven development to write a method that:
# * Takes an array of numbers.
# * Returns the sum of the numbers in the array.
# * e.g.
# * Input: [1, 2, 3, 4, 5]
# * Return: 15
# * Make sure to create a separate project directory for your code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment