Shen Shen
May 14, 2024
We'd love to hear your thoughts on the course: this provides valuable feedback for us and other students, for future semesters! Thank you!🙏
(The demo won't embed in PDF. But the direct link below works.)
import random
terms= ["fall2023", "spring2023", "fall2022", "spring2022",
"fall2021", "fall2019", "fall2018", "fall2018"]
qunums = range(1,9)
base_URL = "https://introml.mit.edu/_static/spring24/final/review/final-"
term = random.choice(terms)
num = random.choice(qunums)
print("term:", term)
print("question number:", num)
print(f"Link: {base_URL+term}.pdf")
More detailed CliffsNotes