Timeline for Efficient dictionary printing
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 17, 2016 at 19:06 | history | edited | user1112457 | CC BY-SA 3.0 |
added 88 characters in body
|
Jan 17, 2016 at 19:00 | comment | added | user1112457 | Hi, thank you for response. I think that you understand it correctly. Just one terminology related thing. s is a value from the choices dictionary, not an item. In python terminology, item is a tuple of key and value. | |
Jan 17, 2016 at 18:41 | comment | added | TwilightKillerX | Did research into these functions so I could understand the code, correct me if I'm wrong please. '\n'.join() - Elements of a sequenece joined by str(new line) seperator. for i,s in - i = number from enumerate, s = item from dictionary enumerate(),1 - Basicaly numerates the items got from itemgetter() beginning with 1 | |
Jan 17, 2016 at 17:11 | review | First posts | |||
Jan 17, 2016 at 17:14 | |||||
Jan 17, 2016 at 17:08 | history | answered | user1112457 | CC BY-SA 3.0 |