fallon bắt đầu chủ đề từ 7 tháng trước

@Alish ·


Hello,

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.

Thanks!

Viết câu trả lời

Drop Images

0 Bình luận