Skip to content

Instantly share code, notes, and snippets.

@codecademydev
Created June 7, 2020 21:32
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/206e67809dd501205792069dac1ed40a to your computer and use it in GitHub Desktop.
Save codecademydev/206e67809dd501205792069dac1ed40a to your computer and use it in GitHub Desktop.
Codecademy export
last_semester_gradebook = [("politics", 80), ("latin", 96), ("dance", 97), ("architecture", 65)]
subjects = ['physics', 'calculus', 'poetry', 'history']
grades = [98, 97, 85, 88]
subjects.append('computer science')
grades.append(100)
gradebook = list(zip(subjects + grades))
gradebook.append('visual arts')
gradebook.append(93)
full_gradebook = gradebook + last_semester_gradebook;
print(full_gradebook)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment