[Sorry for the bad audio quality!]
If you want to check multiple conditions in your code, you can use a few "if" statements in a row. Or you can use if-elif-else. What's the difference, and how can it affect your program's logic? In this video, I walk you through some examples that should make it clearer.
I publish a new (and free!) article about Python each week to my "Better developers" list. Sign up at BetterDevelope....
Негізгі бет Multiple "if" statements vs. if-elif-else: What's the difference?
Пікірлер: 29