I am having a problem with the code provided in the manual testing interview questions page. I have tried several times to run the code, but it keeps giving me an error message. I'm not sure what I'm doing wrong.
The code I am running is:
def test_function(x): return x * 2 print(test_function(4)) I am getting the error message: File "<stdin>", line 1 def test_function(x): SyntaxError: invalid syntax
I would really appreciate any help anyone could provide.
Viết câu trả lời