Post

DetX0nr
DetX0nr@d3tx0nr·
@PythonPr can use : counts.get(item, 0) +=1 too for the dstandard dictionary one, but defaultdict does look elegent
English
0
0
1
37
CodeBro E
CodeBro E@CodeBro_Lib·
@PythonPr True, some new would rather do the first one 😂
English
0
0
0
68
Paylaş