Skip to content

Commit 0deb227

Browse files
Update min-cost-string-conversion.py
1 parent 6abab54 commit 0deb227

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

strings/min-cost-string-conversion.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from __future__ import print_function
22

33
try:
4-
xrange #Python 2
4+
xrange #Python 2
55
except NameError:
66
xrange = range #Python 3
77

@@ -120,4 +120,4 @@ def assemble_transformation(ops, i, j):
120120
print('Cost: ', cost)
121121

122122
file.write('\r\nMinimum cost: ' + str(cost))
123-
file.close()
123+
file.close()

0 commit comments

Comments
 (0)