So I am making a calculator in python as part of a school homework project and while I am aware it is not quite finished, I have come across an invalid syntax in my code on line 22. it is saying that the bracket on this line is an invalid syntax. Can someone help me out with this please? The rest I should be able to do myself.

print(“Calculator”)

print(" ")

def Add(a,b):

return a + b

def Minus(a,b):

return a - b

def Divide(a,b):

return a / b

def Multiply(a,b):

return a * b

while True:

result =0

value1 =0.0

while True:

value1 = float(input("value: "))

operator = chr(input("operator: ")

if value1 == 0.0:

print(result)

if operator == ‘+’:

result += Add(result,value1)

if operator == ‘-’:

result -= Minus(result,value1)

if operator == ‘/’:

result /= Divide(result,value1)

if operator == ‘*’:

result *= Multiply(result,value1)

else:

print(result)