+ 12
[Python] Dictionary inverter
Guys, I can't find the thread I found a while ago where someone asked for a dictionary inverter. Well, here it is. Crude but effective. I'd be grateful for directing me back to it, if someone knows where it was :) https://code.sololearn.com/clYEF7oR5Q3k/?ref=app
3 odpowiedzi
+ 5
No idea :)
All I got was this description I turned into comments there. Perhaps it has something to do with grouping by value..?
0
I can read the code and understand it alright. So I'm not calling it crude.
If I may ask, in what use cases is this required?
0
@Kuba thank you :)