Fixes unused variable errors in LGTM (#1746)

* Fixes unsed variable errors in LGTM

* Fixes integer check

* Fixes failing tests
This commit is contained in:
onlinejudge95
2020-02-11 13:59:09 +05:30
committed by GitHub
parent fde31c93a3
commit 7b7c1a0135
6 changed files with 25 additions and 39 deletions

View File

@ -68,7 +68,6 @@ def points_to_polynomial(coordinates):
# put the y values into a vector
vector = []
while count_of_line < x:
count_in_line = 0
vector.append(coordinates[count_of_line][1])
count_of_line += 1