+ 1

Do you have alternative simpler way of this code?

The code counts number of letters in a string and returns a dictionary of each letter as a key and the number it appears as value, please implement a simpler solution for me https://code.sololearn.com/crmlnUeXhGnp/?ref=app

21st Nov 2021, 7:22 AM
Kisirinya Bonny
Kisirinya Bonny - avatar
2 odpowiedzi
+ 9
https://code.sololearn.com/cGp4RPQtOXxM/?ref=app
21st Nov 2021, 7:45 AM
Slick
Slick - avatar
+ 2
Thanks
21st Nov 2021, 7:59 AM
Kisirinya Bonny
Kisirinya Bonny - avatar