What is elif ladder

Lesson Details:
September 17, 2020

Video Transcription: in this lecture we are going to talk about if Aleph letter this video is brought to you by Appy Pie’s Academy, know what is if Aleph later when we have and if within else that means when we are applying an else and within the else there is another if statement this is called Aleph in Python it's very easy to understand this scenario suppose let's assume there is a career counseling of a teenager we are asking if you have a flair for mathematics then apply for a university mathematics graduation course else suppose the teenager does not have any flair for mathematics then of course we will go to else let me tell you I am NOT using Python syntax I am explaining this with simple English language else if you have a flair for computer science then apply for a university computer science graduation course then else now this third else sorry second else means when the first condition as well as the second condition is false that means the teenager does not have any flair for mathematics nor he or she has any flair for computer science then in else we will say if you have a flair for aeronautics then apply for a university aeronautical engineering course now if this condition 2 is false then it will go to this third else if you have a flair for literature then apply for a university English literature course right suppose this condition 2 is false that is the teenager does not have any interest in literature also then the last else will work last else means when none of the above conditions got satisfied none of the above conditions the teenager has neither interest in mathematics nor in computer science nor in aeronautics nor in literature then in last oils we are saying you need some more time to explore the thing yourself right now in the next lecture I will be showing you the practical program how we people apply Alif in pythoN.

loader
Course content