mirror of
https://github.com/rembo10/headphones.git
synced 2026-07-20 16:03:59 +01:00
Initial python3 changes
Mostly just updating libraries, removing string encoding/decoding, fixing some edge cases. No new functionality was added in this commit.
This commit is contained in:
+2
-2
@@ -781,6 +781,6 @@ if __name__ == '__main__':
|
||||
for r, c in indexes:
|
||||
x = cost_matrix[r][c]
|
||||
total_cost += x
|
||||
print('(%d, %d) -> %d' % (r, c, x))
|
||||
print('lowest cost=%d' % total_cost)
|
||||
print(('(%d, %d) -> %d' % (r, c, x)))
|
||||
print(('lowest cost=%d' % total_cost))
|
||||
assert expected_total == total_cost
|
||||
|
||||
Reference in New Issue
Block a user