Skip to content

Instantly share code, notes, and snippets.

View BernhardTuft's full-sized avatar
🏠
Working from home

Jonas Bernhard Tuft BernhardTuft

🏠
Working from home
  • Oslo
View GitHub Profile
@BernhardTuft
BernhardTuft / script.py
Created January 17, 2024 09:03 — forked from codecademydev/script.py
Codecademy export
View script.py
last_semester_gradebook = [["politics", 80], ["latin", 96], ["dance", 97], ["architecture", 65]]
# Your code below:
subjects = ["physics", "calculus", "poetry", "history"]
grades = [98, 97, 85, 88]
gradebook = list(map(list, zip(subjects, grades)))
gradebook.append(["computer science", 100])
gradebook.append(["visual arts", 93])