Zomato Delivery Distance Average
Zomato Delivery Distance Average
EasyArrays100% accepted
Ravi works at Zomato in Bangalore and tracks delivery distances for orders. He needs to calculate the average delivery distance to optimize routes.
Approach
Given an array of N delivery distances in kilometers, calculate the average distance.
Input
[2.5, 3.5, 4.0, 2.0]
Output
3
More Arrays problems
Browse all coding problems →solution.py
Loading editor...
Test 1
Test 2
Test 3
Press Run to test your custom input, or Submit to judge against all test cases.
Sign in to continue
Create a free account to run code, submit solutions and track progress.
- Free forever — no credit card
- 10+ languages with live execution
- Points, streaks & leaderboards