Here we will get to know about the If-else, control flow.
As the name says (
if) it simply applies the condition applied to it. If the value of the expression is true, the command works according to it.
#!usr/bin/env/ python 3
number= int(input("Enter a number:"))
print("the number is less than 100")
Else statement:– This is used when the
(if)statement is not fulfilled.
number= int(input("Enter a number:")
print("The number is less than 100");
print("The number is greater than 100");