Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #단어 빈도를 세는 word_count()함수를 만드세요
- #문장을 인자 text 에 담아서 전달하면 문장의 각 단어가 등장하는 횟수를 누적해서 단어와 빈도수를 출력
- #단어기준: 띄어쓰기
- text = '개굴 개굴 개구리 노래를 한다'
- word_count(text)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement