python function vs lambda

>>> def b(x): return 1 + x

>>> b(5)
6

Here is what the above code is Doing:
1. We define a function called a that takes in a parameter called x.
2. We define a function called b that takes in a parameter called x.
3. We call the function b with the argument 5.
4. We print the result of calling b with the argument 5.