Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ACTmath = []
- for line in ACTlist:
- ACTmath.append(int(line[2]))
- max_math = max(ACTmath)
- print(max_math)
- state, verbal_score, math_score = ACTlist[0]
- states = []
- for (state, verbal_score, math_score) in ACTlist:
- states.append(state)
- max_state = states[ACTmath.index(max_math)]
- print(max_state)
- print('The state with the highest math score was', max_state, 'with a score of', max_math)
- for x in ACTmath:
- if x > 450:
- print(x)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement