211
211
# allowed to skip 1 in 5 questions and still get 'full marks'.
212
212
# Hence we divide by 16, essentially making 16 percent worth
213
213
# 1 star, and 80 or above worth 5.
215
219
# percent / 16, rounded down, with a maximum mark of 5
217
221
mark = min(percent_int // 16, max_mark)