Lyft interview question

a simple coding exercise in Python