ects_earned = 138
points_earned = 44
points_max = 60
ects_required_for_ba = 180
# ECTS missing are 180 - 138 = 42
ects_missing = 42
# Nr of 6 ECTS courses student has to take in order to complete BA. 42 / 6 = 7
# Problem , the variable name mustn't start with a number, as the interpreter cannot deal with this.
six_ects_courses = 7
# Formula for calculation :
# (points_earned / points_max) * 5 + 1
grade = 4.66
print("So far you earned ", ects_earned, " ECTS points.")
print("In that exam you got ", points_earned, " of ", points_max, " points.")
print("You are missing ", ects_missing, " of ", ects_required_for_ba, " in order to complete your BA.")
print("You have to still take ", six_ects_courses, " to receive enough ECTS points for BA completion.")
print("In this test you achieved a grade of: ", grade)