Skip to content

Instantly share code, notes, and snippets.

@JakenHerman
Created February 13, 2014 18:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JakenHerman/8980587 to your computer and use it in GitHub Desktop.
Save JakenHerman/8980587 to your computer and use it in GitHub Desktop.
first_last6 on Coding Bat
__author__ = 'Jaken'
def first_last6(nums):
if nums[0] == 6:
return True
elif nums[len(nums) -1] == 6:
return True
else:
return False
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment