Learn Before
Concept
If Statements
-
If statement evaluates a boolean expression and then executes a set of statements based on the output of the boolean expression.
-
if ,elif and else are keywords that help to achieve conditional execution of statements.
Syntax
if boolean expression:
statements
elif boolean expression:
statements
else:
statements

0
1
Updated 2021-02-03
Contributors are:
Who are from:
Tags
Python Programming Language
Data Science