- 1

Is a function like this useful or is there another function for this?

https://code.sololearn.com/cfqwlTGu3wv3/?ref=app

17th Jun 2017, 6:54 AM
Jonas Schröter
Jonas Schröter - avatar
2 Respuestas
+ 1
is it useful? yes in some cases. your code is good practice to know how has maps work. but unless u have a use for it then no it's not useful lol. if u have a use for it. then yes it's useful. not something used everyday if that's what ur asking
30th Jun 2017, 6:32 AM
Tanner MacDonald
Tanner MacDonald - avatar
0
No, I just wanted to know if there's another function for getting both, keys and values. Thanks for your answer.
30th Jun 2017, 6:50 AM
Jonas Schröter
Jonas Schröter - avatar