if condition python in hindi | If python
If condition - python में if condition का उपयोग हमारे द्वारा दी गयी condition के हिसाब से निर्णय लेने में होता है | Let’s master it step by step:- ✱लॉजिकल condition जिसका use if में होता है x==y equal to x!=y not equal to x<y less than x>y greater than x<=y less than equal to x>=y greater than equal to 1.हम नंबर के साथ if condition लगाते है x= 10 y= 20 if x<y : print( 'x is less than y' ) x=10 x की value y=20 y की value if x<y : यदि x<y ,:=indent (4 spaces or 1 Tab) print('x is less than y') प्रिंट करो - जो भी आप करवाना चाहते हो 2.यदि पहली condition सही नहीं होती है तो 2nd,3rd,4th condition के लिए elif और अंतिम condition के लिए else का भी use कर सकते है x= 10 y= 20 if x>y ...