セクション 3. 章 13
single
Challenge: Ensuring Fast Delivery for Expensive Products
メニューを表示するにはスワイプしてください
タスク
スワイプしてコーディングを開始
In the store, there's a rule: if a product costs more than $1000, it must be delivered within 5 days. You need to check whether this rule is followed for all expensive products.
- Filter the list of
products, keeping only those with apricegreater than 1000 usingfilter()method. - Check if all filtered products have a delivery time of 5 days or less using
allMatch().
解答
すべて明確でしたか?
フィードバックありがとうございます!
セクション 3. 章 13
single
AIに質問する
AIに質問する
何でも質問するか、提案された質問の1つを試してチャットを始めてください