Challenge: Ensuring Fast Delivery for Expensive Products
Compito
Swipe to start coding
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().
Soluzione
Tutto è chiaro?
Grazie per i tuoi commenti!
Sezione 1. Capitolo 39
single
Chieda ad AI
Chieda ad AI
Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione
Fantastico!
Completion tasso migliorato a 2.33
Challenge: Ensuring Fast Delivery for Expensive Products
Scorri per mostrare il menu
Compito
Swipe to start coding
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().
Soluzione
Tutto è chiaro?
Grazie per i tuoi commenti!
Sezione 1. Capitolo 39
single