- 2

Need help for the letter counter project please

15th Nov 2021, 11:37 AM
Domiho Aimé YEDENOU
Domiho Aimé YEDENOU - avatar
5 Respostas
+ 5
Where is attempts?
15th Nov 2021, 11:38 AM
A͢J
A͢J - avatar
+ 3
Okay...and your prob?
15th Nov 2021, 12:43 PM
Oma Falk
Oma Falk - avatar
+ 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)
15th Nov 2021, 3:04 PM
Python Learner
Python Learner - avatar
+ 1
Ooh wow🤩 It's just worked. I spent so many time on this. Thanks a lot.🦸
15th Nov 2021, 4:46 PM
Domiho Aimé YEDENOU
Domiho Aimé YEDENOU - avatar
0
This is what I inserted dict = {} text = input() for letter in text: dict['letter'] = text.count(letter) print (dict)
15th Nov 2021, 12:21 PM
Domiho Aimé YEDENOU
Domiho Aimé YEDENOU - avatar