✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Consider the following Python function.
def PerformTask(S): L = []; for i in range(0, len(S)): if S[i] == "(": L.append(S[i]) elif S[i] == ")" and len(L)>0: L.pop() else: return False return True
Which of the following input parameter will result in a return value of “True" in the above?