Made the code Python 3 compatible

This commit is contained in:
S-Sanyal 2018-10-03 20:13:34 +05:30
parent ccb25641ba
commit dc584f1658

View File

@ -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