セクション 1. 章 5
single
Challenge: Weekly Habit Tracker
メニューを表示するにはスワイプしてください
タスク
スワイプしてコーディングを開始
Write a function that summarizes a daily habit tracked over a week. The function should process a list of daily values representing the habit's occurrences for each day of the week.
- Calculate the sum of all values in
daily_values. - Calculate the average of the values in
daily_values. - Print the weekly total.
- Print the weekly average.
解答
すべて明確でしたか?
フィードバックありがとうございます!
セクション 1. 章 5
single
AIに質問する
AIに質問する
何でも質問するか、提案された質問の1つを試してチャットを始めてください