mirror of
https://hub.njuu.cf/TheAlgorithms/Python.git
synced 2023-10-11 13:06:12 +08:00
Made the code Python 3 compatible
This commit is contained in:
parent
ccb25641ba
commit
dc584f1658
@ -37,7 +37,7 @@ def calculateSpan(price, S):
|
||||
# A utility function to print elements of array
|
||||
def printArray(arr, n):
|
||||
for i in range(0,n):
|
||||
print arr[i],
|
||||
print (arr[i]),
|
||||
|
||||
|
||||
# Driver program to test above function
|
||||
|
Loading…
Reference in New Issue
Block a user