Skip to content

Commit 2e137da

Browse files
authored
Use print() function in both Python 2 and Python 3
1 parent 7a816e7 commit 2e137da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

data_structures/linked_list/merge_linked_list.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ def merge(l1, l2):
2929

3030
ptr = head_merged
3131
while ptr:
32-
print ptr.val
32+
print(ptr.val)
3333
ptr = ptr.next
3434

0 commit comments

Comments
 (0)