Buy us a coffee

Python me elif se ek se zyada condition

  • Basic
  • Module 3 of 7 in this level
  • Open to learn
Start this skill

Watch

Watch the video to unlock the quizquiz खोलने के लिए video देखें

What you should understandआपको क्या समझना है?

  • elif से आप एक से ज़्यादा शर्तें एक के बाद एक जाँच सकते हैं।
  • Python ऊपर से नीचे जाँचता है और पहली सही शर्त चलाकर रुक जाता है।
  • elif कितने भी हो सकते हैं, पर else सबसे आख़िर में एक बार आता है।