Skip to content

Commit dc584f1

Browse files
committed
Made the code Python 3 compatible
1 parent ccb2564 commit dc584f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

data_structures/Stacks/Stock-Span-Problem.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def calculateSpan(price, S):
3737
# A utility function to print elements of array
3838
def printArray(arr, n):
3939
for i in range(0,n):
40-
print arr[i],
40+
print (arr[i]),
4141

4242

4343
# Driver program to test above function

0 commit comments

Comments
 (0)