python def calc _default_ add(x, y, op )
I got (SyntaxError: invalid syntax) with this exercise : Define the function calc_default_add() which, when given two numeric inputs and the string "add" or "sub" either adds or subtracts the two numbers appropriately. If the string is not provided as a third parameter, make the default operation add. If any other operation is provided as the third parameter, make sure you print the string"Valid operation: add, sub". def calc_default_add(x, y, op): if (op == "add" or op == None"): print(x = y) elf(op == "sub"): print(x-y) else: print("Valid operations : add, sub") This is what I did: def calc_default_add(x, y, op=def calc_default_add(x, y, op="add"): # Here I got (SyntaxError: invalid syntax) if op != "add" or op != "sub": print("Valid operations: add, sub") elif op == "add": return int(x + y) elif op == "sub": return int(x - y) else: return Nonead