Skip to content

Instantly share code, notes, and snippets.

View ivantishchenko's full-sized avatar
:octocat:
Learning

ivantishchenko

:octocat:
Learning
View GitHub Profile
@ivantishchenko
ivantishchenko / gpa_v2.py
Created November 18, 2020 14:41
ETH GPA Calculator
import numpy as np
import itertools
from itertools import compress
MIN_REQUIRED_FOCUS = 26
MIN_REQUIRED_ELECTIVE = 8
focus_fixed = [(4.75, 2)]
focus_unfixed = [(5.75, 10), (5, 5), (5.5, 4), (5.5, 3), (4.75, 8), (4.75, 8), (4.75, 5)]
elective_fixed = []