Syntax of if Statement
if expression : if_statement(s)
Example of if Statement Source Code :
x = 2
y = 3
if(x < y) :
print("x is less than y")
Output :
x is less than y
if expression : if_statement(s)
x = 2
y = 3
if(x < y) :
print("x is less than y")
x is less than y