TGViewer
Pythonist.ru - образование по питону Pythonist.ru - образование по питону @pythonist_ru · 24K subscribers
Post #1492 6.43K
Задачка для начинающих

Напишите программу для нахождения 10 наиболее часто встречающихся слов в тексте. Выведите сами слова и их количество.

Вывод:
[('Python', 6), ('the', 6), ('and', 5), ('We', 2), ('with', 2), ('The', 1), ('Software', 1), ('Foundation', 1), ('PSF', 1), ('is', 1)]

Текст:

The Python Software Foundation (PSF) is a 501(c)(3) non-profit corporation that holds the intellectual property rights behind the Python programming language. We manage the open source licensing for Python version 2.1 and later and own and protect the trademarks associated with Python. We also run the North American PyCon conference annually, support other Python conferences around the world, and fund Python related development with our grants program and by funding special projects.

Пишите ответы в комментариях, а мы свой вариант опубликуем завтра.

#coding #beginner
  • 👍 4
More from @pythonist_ru
  1. Oct 1, 2026photo post
  2. Sep 28, 2026🔥 Вакансии по Python за неделю: 📥 Middle+ Python/Django-разработчик Ведомости Middle · R…
  3. Sep 22, 2026Задача с кодом. Сложное упорядочивание Упорядочивание слов в ступенчатом лексикографическо…
  4. Sep 22, 2026Бустани свою карьеру на бесплатном фесте Ozon ON! Думаешь, как попасть в топовую компанию…
  5. Sep 22, 2026photo post
  6. Sep 21, 2026🔔 Вакансии по Python за неделю: 📥 Backend Developer Python i-Line Part time · Middle · R…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →