Hi guys/girls. I successful completed the exercise and then I tried to complete it using the ‘nest’ control flow suggested in the ‘question’ session at the and of the exercise.
I rewrote the ‘applicant_selector’ function this way:
The thing is, if I use an ‘elif’ statement (line 10) and I call the function, the output is ‘None’. If I replace the ‘elif’ statement with an ‘if’ statement the ouput is correct.
Why doesn’t the function work properly if I use an ‘elif’ statement? I don’t get it.