Do you have to add extra indentation to conditional statements in a function body?

No

Yes

Only if the conditional statement is the last statement in the function.

Only if the conditional statement comes first in the function.

2 answers

It is recommended to add extra indentation to conditional statements in a function body to improve readability and make the code easier to understand. So the answer is Yes.
Your correct ty