I just want to clear confusion in the Topic: "Conditionals & Control Flow>I Got 99 Problems, But a Switch Ain't One" that it is mentioned here:
"the elif statement is only checked if the original if statement if False."
I am understanding this in 2 ways:
- We have to give the if condition so "False", so that it can check the elif condition code block in the program.
- Or if we had given the True condition in the if, then according to as mentioned "the elif statement is only checked if the original if statement if False.", then it will not check the elif condition or it depends upon the user input if user inputs wrong answer.
Please Help me in this.