Python if....elif....else statements

python if... Statements: python if.. statement is used for decision making operation. It contains the body of code which will run only when the conditions given in the if statement is true if only ---- when condition True : if.. flowchart Example: #if only ------ condition true x = 100 y = 50 if x > y: print ( "greater then y" ) print ( "condition true" ) Output: greater then y condition true In this example we have two variable x=100,y=50 and we create if expression [if x > y:] then we give statement [print("greater then y")] if condition expression is true then statement is pass .then outside of if statement print will be execute. if only ---- when condition False: I n this example we have two variable x=100,y=50 and we create if expression [if x < ...