Answer:
import regex as re
def in_parentheses(a_string):
regeX = re.compile(".*?\((.*?)\)")
result = re.findall(regeX, a_string)
return str(result).replace("[","").replace("]","")
print("test 1: "+in_parentheses("Open ( only"))
print("test 2: "+in_parentheses("This is a sentence (words!)."))
Answer:
yo im sorry eat my cookie
Explanation
doorkoeeworkwoeroewkrwerewrwe
some advantages of video conferencing include:
• you can talk no matter how far you are from the person
•you won’t have to go somewhere to talk
•there is no cost if you need to travel far