Definition elif only executed when the if statement return false. Syntax if......: ............... elif condition statement----- statement Parameters N/A Example elif statement subject to if argument and input() number Here in this sample code the variable assigned the numeric ranges and and if statement is tested on these variables.
|