Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
beagle3
· 15y ago · 0 comments
aggregatedmarks.setdefault(name,[]).append(marks)
See
http://docs.python.org/release/2.5.2/lib/typesmapping.html
Comments
[–]
ferdous
15y ago
neat and minimal! I will update the code. Thanks for your comments and stopping by :)