Skip to content

Instantly share code, notes, and snippets.

@float1251
Created March 31, 2014 01:16
Show Gist options
  • Save float1251/9883263 to your computer and use it in GitHub Desktop.
Save float1251/9883263 to your computer and use it in GitHub Desktop.
pythonでの文字列内の最大頻出文字抽出
max(text,key=lambda s:s.count)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment