Agricultural spraying and monitoring
📖 Scenario: You are programming a drone to help farmers spray pesticides and monitor crop health efficiently. The drone needs to know which fields to spray, the amount of pesticide to use, and then report the spraying status for each field.
🎯 Goal: Build a simple program that stores field data, sets a spraying threshold, calculates which fields need spraying based on crop health, and then outputs the spraying plan.
📋 What You'll Learn
Create a dictionary with field names and their crop health scores
Add a spraying threshold variable to decide which fields need spraying
Use a loop or comprehension to select fields below the threshold
Print the list of fields that require spraying
💡 Why This Matters
🌍 Real World
Farmers use drones to spray pesticides only where needed, saving chemicals and protecting the environment.
💼 Career
DevOps engineers working with agricultural drones need to write and maintain code that controls drone operations and data processing.
Progress0 / 4 steps