diff options
Diffstat (limited to 'circulate/sslc_allreg.py')
-rwxr-xr-x | circulate/sslc_allreg.py | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/circulate/sslc_allreg.py b/circulate/sslc_allreg.py deleted file mode 100755 index 110a924..0000000 --- a/circulate/sslc_allreg.py +++ /dev/null @@ -1,29 +0,0 @@ - -math_scores = [] -for record in open('sslc1.txt'): - fields = record.split(';') - - math_score = fields[5].strip() - if math_score != 'AA': - math_scores.append(int(math_score)) - else: - math_scores.append(0) - - -# List method -print "Mean: ", mean(math_scores) - -print "Median: ", median(math_scores) - -print "Standard Deviation: ", std(math_scores) - -# Array method - -math_scores = array(math_scores) - -print "Mean: ", mean(math_scores) - -print "Median: ", median(math_scores) - -print "Standard Deviation: ", std(math_scores) - |