mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-14 01:22:03 +08:00
Improved Code and removed Warnings (#483)
This commit is contained in:
@ -37,7 +37,7 @@ def is_balanced(S):
|
||||
|
||||
def main():
|
||||
|
||||
S = input("Enter sequence of brackets: ")
|
||||
S = raw_input("Enter sequence of brackets: ")
|
||||
|
||||
if is_balanced(S):
|
||||
print((S, "is balanced"))
|
||||
|
Reference in New Issue
Block a user