if the condition for if is falseit checks the condition of the next elif block and so on if all the conditions are falsebody of else is executed #program on elif ladder num float(input("enter the value of num")if num print("positive number"elif num = print("zero"elseprint("negative number"python program to find the largest number among the three input numbers int(input("enter the value of ") int(input("enter the value of ") int(input("enter the value of ")if ( >band ( > )largest elif ( >aand ( > )largest elselargest print("the largest number is",largestnested if statement if statement in another if is called as nested if statements syntaxif cond if cond if cond statements or