Contact: aviboots(AT)netvision.net.il
39,970 questions
51,912 answers
573 users
s = "(Python is an ((interpreted) high-level) programming language)" s = s.replace("(","").replace(")","") print(s) ''' run: Python is an interpreted high-level programming language '''
import re s = "(Python is an ((interpreted) high-level) programming language)" s = re.sub("[()]","", s) print(s) ''' run: Python is an interpreted high-level programming language '''