Skip to content

Instantly share code, notes, and snippets.

@codecademydev
Created October 19, 2018 10:03
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 codecademydev/9e6a41ddfdc767ba941f2baadb6d2324 to your computer and use it in GitHub Desktop.
Save codecademydev/9e6a41ddfdc767ba941f2baadb6d2324 to your computer and use it in GitHub Desktop.
Codecademy export
#Write your function here
def append_size(lst):
extend = range(1,(len(lst) + 1)
lst.append(extend)
return lst
#Uncomment the line below when your function is done
print(append_size([23, 42, 108]))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment