Skip to content

Commit 2862611

Browse files
committed
Put python 3 print in Infix_to_Postfix.py
1 parent e3a3709 commit 2862611

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Infix_to_Postfix.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def infixToPostfix(self, exp):
8585
while not self.isEmpty():
8686
self.output.append(self.pop())
8787

88-
print "".join(self.output)
88+
print("".join(self.output))
8989

9090
# Driver program to test above function
9191
exp = "a+b*(c^d-e)^(f+g*h)-i"

0 commit comments

Comments
 (0)