-
Notifications
You must be signed in to change notification settings - Fork 1
/
pte_evaluation.py
40 lines (38 loc) · 1.01 KB
/
pte_evaluation.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
def pte__evaluation(ielts_band):
if ielts_band == 9:
pte_score = 88
elif ielts_band == 8.5:
pte_score = 81
elif ielts_band == 8.0:
pte_score = 75.5
elif ielts_band == 7.5:
pte_score = 68.5
elif ielts_band == 7.0:
pte_score = 61
elif ielts_band == 6.5:
pte_score = 53.5
elif ielts_band == 6.0:
pte_score = 45.5
elif ielts_band == 5.5:
pte_score = 38.5
elif ielts_band == 5.0:
pte_score = 32.5
elif ielts_band == 4.5:
pte_score = 26
elif ielts_band == 4.0:
pte_score = 19
elif ielts_band == 3.5:
pte_score = 12.5
elif ielts_band == 3.0:
pte_score = 8.5
elif ielts_band == 2.5:
pte_score = 6.5
elif ielts_band == 2.0:
pte_score = 4.5
elif ielts_band == 1.5:
pte_score = 2.5
elif ielts_band == 1.0:
pte_score = 1
elif ielts_band == 0.0:
pte_score = 0
return pte_score