Python Tutorial: conditional statement in Python

preview_player
Показать описание
There are three keywords for the conditional statements in python
-if
-elif
-else

Syntax:
if condition1:
expression1
elif condition2:
expression2
else:
expression3
Рекомендации по теме