Python 3 - Count the frequency of words appearing in a string | Example Programs

preview_player
Показать описание
Write a simple python code to Count the frequency of words appearing in a string.
Рекомендации по теме
Комментарии
Автор

this video actually helped me out instead of the other useless online tutorials, thanks a bunch!!

icyQaisy_
Автор

Can you tell how can I print the count in decreasing order ? In your example hello word comes twice, so first hello:2 should be printed, then other word's frequency.

snehashukla
Автор

How to print as a string ??. Without using list.. I want to print this way hi2hello3how2... and so on..

jekhaarchana
Автор

Hi! Could you explain please where is 'i' coming from? Also, if you can, explain what {} means?

pawelmykytuk
welcome to shbcf.ru