- 2
Need help for the letter counter project please
5 Antworten
+ 5
Where is attempts?
+ 3
Okay...and your prob?
+ 1
Hi Domiho!
You have to change your 4th line to this to get each letter frequency. I mean remove the quotes from the letter.
dict[letter] = text.count(letter)
+ 1
Ooh wow🤩 It's just worked.
I spent so many time on this. Thanks a lot.🦸
0
This is what I inserted
dict = {}
text = input()
for letter in text:
dict['letter'] = text.count(letter)
print (dict)