Skip to content

Instantly share code, notes, and snippets.

@JakenHerman
Created February 13, 2014 18:35
Show Gist options
  • Select an option

  • Save JakenHerman/8981038 to your computer and use it in GitHub Desktop.

Select an option

Save JakenHerman/8981038 to your computer and use it in GitHub Desktop.
make_ends on Coding Bat
__author__ = 'Jaken'
def make_ends(nums):
first = nums[0]
last = nums[len(nums) -1]
x = [first, last]
return x
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment