Changeset 4565
- Timestamp:
- 21 Dec 2009, 15:53:09 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/getGradesFromScore.py
r3707 r4565 10 10 # $Id$ 11 11 12 if level_id: 12 if level_id: #for ois only 13 13 if level_id in ('100', '200', '300'): 14 14 if score >= 80: … … 16 16 if score >= 60: 17 17 return ('C') 18 if score >= 55: 18 if score >= 55: 19 19 return ('P') 20 20 if score >= 0: … … 35 35 if score >= 0: 36 36 return ('F9') 37 elif level_id == '700': 38 if score >= 80: 39 return ('A') 40 if score >= 65: 41 return ('B') 42 if score >= 55: 43 return ('C') 44 if score >= 45: 45 return ('D') 46 if score >= 0: 47 return ('F') 37 48 else: 38 49 return('X')
Note: See TracChangeset for help on using the changeset viewer.