15,998,281 members
See more:
```def solveMeFirst(a,b):
# Hint: Type return a+b below

num1 = int(input())
num2 = int(input())
res = solveMeFirst(num1,num2)
print(res)```

What I have tried:

i have tried to run it and it is showing this error
```num1 = int(input())
^
IndentationError: expected an indented block```

I am really a new beginner(NOOB) and my teacher gave me this problem to do. But he is really not helping me, please help in finding the problem in it.
Posted
Updated 2-Dec-20 1:24am

## Solution 2

There is a pretty big clue in what your teacher gave you:
Python
`# Hint: Type return a+b below`

Literally all you have to do is remove the "# Hint: Type " and "below" bits and it'll work...

You are never going to pass this course unless you read carefully, and start thinking ... honest!

JAI_C 18-Jun-19 7:06am
well, thank you so much.
OriginalGriff 18-Jun-19 7:12am
You're welcome!

## Solution 1

The `solveMeFirst` method is empty (a comment does not count as "code"). Therefore, Python's thinking is "there still has to be code" and the next code it notices, is not indented as per Python's indentation rules. So, put some code in the function. In fact, the comment tells you exactly what to do already:
Python
```def solveMeFirst(a,b):
return a+b```

Top Experts
Last 24hrsThis month
 OriginalGriff 80 Richard Deeming 20 George Swan 10 Aggeliki Asimakopoulou 10
 OriginalGriff 521 Pete O'Hanlon 250 Richard Deeming 210 Dave Kreskowiak 133 CPallini 110

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900