mirror of
https://hub.njuu.cf/TheAlgorithms/Python.git
synced 2023-10-11 13:06:12 +08:00
Merge branch 'master' of https://github.com/daniel-s-ingram/PythonAlgorithms
This commit is contained in:
commit
070ebb3afc
@ -1,7 +1,7 @@
|
||||
from __future__ import print_function
|
||||
|
||||
try:
|
||||
xrange #Python 2
|
||||
xrange #Python 2
|
||||
except NameError:
|
||||
xrange = range #Python 3
|
||||
|
||||
@ -120,4 +120,4 @@ if __name__ == '__main__':
|
||||
print('Cost: ', cost)
|
||||
|
||||
file.write('\r\nMinimum cost: ' + str(cost))
|
||||
file.close()
|
||||
file.close()
|
||||
|
Loading…
Reference in New Issue
Block a user