PYTHON CƠ BẢN - RẤT LÀ CƠ BẢN - Trang 11

if

condition1 :

indentedStatementBlockForTrueCondition1

elif

condition2 :

indentedStatementBlockForFirstTrueCondition2

elif

condition3 :

indentedStatementBlockForFirstTrueCondition3

elif

condition4 :

indentedStatementBlockForFirstTrueCondition4

else

:

indentedStatementBlockForEachConditionFalse

7[MXGLŷGEWI

4]XLSROLɺRKGɹGϴYXVɾG

switch

ŷ

case

*SVŷMR

for

iterating_var

in

sequence:

statements(s)

:ɴHд