RESTful API that intelligently recommends road trip routes, built with Python Flask and MongoDB.
BSD 3-Clause "New" or "Revised" License
4
stars
5
forks
source link
Simplify range(0, x) to range(x) in all Python files #192
Closed
dongskyler closed 3 years ago
Background
In Python,
range(0, x)
is equivalent torange(x)
, withx
being an integer.Task
Replace all
range(0, x)
instances withrange(x)
in all files in this repo.At least, the following file contains
range(0, x)
:src/core/distancematrix/google_distance_matrix.py
:Please check if any other file contains
range(0, x)
instances.Please refer to contributing guidelines for environment setup and workflow.
Should you have any questions, please don't hesitate to comment under this issue.
Impact
Completing this issue will simplify our code.