Skip to content

Instantly share code, notes, and snippets.

@odanga94
Created May 13, 2017 07:11
Show Gist options
  • Save odanga94/a7f3541eba8f530d41a7168a56309327 to your computer and use it in GitHub Desktop.
Save odanga94/a7f3541eba8f530d41a7168a56309327 to your computer and use it in GitHub Desktop.
PracticePython/Exercise12
a = [0, 5, 10, 15, 20, 25, 75]
def new_list(a):
new = []
new.append(a[0])
new.append(a[len(a) - 1])
print(new)
new_list(a)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment