Skip to main content
Participant
April 27, 2023
Question

Can't get expected output from code

  • April 27, 2023
  • 0 replies
  • 163 views

Hello,

I'm having trouble getting the expected output from a piece of code I'm working with. I'm trying to solve a question from an online resource for manual testing interview questions for jobs.

The code I'm using is:

def manual_test(a,b):
return a + b

print(manual_test(1,2))

The output I'm getting is 3, however, I'm expecting it to be 5. I'm not sure why the output isn't what I'm expecting it to be. Any help would be greatly appreciated.

Thanks

    This topic has been closed for replies.