2 ms·
aggregatedmarks.setdefault(name,[]).append(marks) See http://docs.python.org/release/2.5.2/lib/typesmapping.html http://docs.python.org/release/2.5.2/lib/types
by beagle3 16y ago
aggregatedmarks.setdefault(name,[]).append(marks)
See http://docs.python.org/release/2.5.2/lib/typesmapping.html http://docs.python.org/release/2.5.2/lib/typesmapping.html
- ferdous 16y agoneat and minimal! I will update the code. Thanks for your comments and stopping by :)