mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-11-24 05:21:09 +00: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
|
# A utility function to print elements of array
|
||||||
def printArray(arr, n):
|
def printArray(arr, n):
|
||||||
for i in range(0,n):
|
for i in range(0,n):
|
||||||
print arr[i],
|
print (arr[i]),
|
||||||
|
|
||||||
|
|
||||||
# Driver program to test above function
|
# Driver program to test above function
|
||||||
|
|
Loading…
Reference in New Issue
Block a user