Save up to $499! Grab all Python courses for $49 or all online courses we’ve ever launched for only $169. Only Feb 11-16. Happy Valentine's!
Introduction
Functions returning geometries
Collections
Summary
17. Exercise 2

Instruction

Great job! Let's now calculate something more interesting!

Exercise

The mayor of San Francisco has decided to renovate all bicycle routes in the Downtown district (stored in sf_chains with id = 90). Calculate the total cost of all renovations, given the following costs:

  • 250 USD per 1 kilometer of bicycle routes,
  • an additional 100 USD for each bicycle route (for new signs).

Name this column total_price.