YUNOVA · Python programming · Module 3: Operators & Conditions
Python me if else statement
Notes for offline study · 30 November 2026
Python me if else statement
Key points
- if के बाद जो शर्त सही होगी, उसी के नीचे का code चलेगा।
- शर्त ग़लत हुई तो else वाला हिस्सा चलता है।
- line के आख़िर में colon लगता है और अगली line indent होती है।