セクション 3. 章 7
single
Challenge: Word Frequency Analyzer
メニューを表示するにはスワイプしてください
タスク
スワイプしてコーディングを開始
Write a function that analyzes a given paragraph and returns a dictionary mapping each word to its frequency, ignoring case and punctuation.
- Split the input string into words, ignoring punctuation and treating uppercase and lowercase as the same.
- Count the occurrences of each word.
- Return a dictionary where each key is a word and each value is its frequency.
解答
すべて明確でしたか?
フィードバックありがとうございます!
セクション 3. 章 7
single
AIに質問する
AIに質問する
何でも質問するか、提案された質問の1つを試してチャットを始めてください