Definition John( 2014) states that in Python, numeric variable are number whom value are subject to change. The user can change the value any time. The informed store in the variable could be numeric ,string or boolean type or it could be any other type as defined by the user. Examples The data is stored in variable name "a" whose value is declared equal to 443. The value stored in the a is numeric type and python performed the requested calculation on the variables.
In this code, the numeric variable values are tested on the comparison test.
The output is:
Here in this sample code the variable assigned the numeric ranges and and if statement is tested on these variables.
|