Transcript
Instructions
- Rename your function.
- Add a column in your spreadsheet for Driving Distance.
- Add =drivingDistance() into a cell in this column.
- Add return miles to your code.
- Comment out the variables and pass the variables in from the sheet.
- Pass variables in from the spreadsheet.
- Replicate the formula in the rest of the column.