Hey guys,
Trying to learn python. Anyone have any idea why this prints score_value first?
ie this is the output
{'score_value': 3.0, 'score_type': 1}{'score_value': 3.0, 'score_type': 4}{'score_value': 3.0, 'score_type': 5}
scores_for_bulk = []
for i in range(4):
if not score[i] == 0:
self.response.out.write({"score_type":SCORE_TYPES[types[i]], "score_value": score[i]})
Any help would be appreciated.