how can I solve the first Python for Intermediate module problem? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

how can I solve the first Python for Intermediate module problem?

I just started the python for intermediate and I don’t understand how I could use a dictionary to store the number of times a character appears in an input. Can I use a for loop to add a character to the dictionary or add 1 to it’s value? how am i supposed to do this?

24th Jul 2021, 3:44 AM
Eucalyp555
Eucalyp555 - avatar
1 Answer
+ 2
Try to search for threads bearing similar topic first. Many had tried to solve that task and ask the same question. Also try to search Code Playground for inspirations and examples. You can learn from how other people did it 👍
24th Jul 2021, 3:56 AM
Ipang