Comment body goes here.
No one can help you without seeing your code.
Use geeks or ideone and paste the link to your code here. Anyone willing to help will go through it.
Always check what FORMAT the ide wants. your compiler can accept whatever format you return, but the IDE will accept only the correct format. A list, a tuple, and integer or whatever.