Created
March 10, 2022 21:27
-
-
Save NguyenDa18/959dfa0034c7394681408718ec3373aa to your computer and use it in GitHub Desktop.
Revisions
-
NguyenDa18 created this gist
Mar 10, 2022 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,4 @@ parens_table = str.maketrans(dict.fromkeys("()")) # remove parens converted = converted.translate(parens_table) return converted