banner

Dmytro K

Dmytro K

Нерухомість

Електроніка


location icon

Ужгород

location icon

+380-99-832-4231

location icon

mekaa1337+exp_test_pbl@gmail.com

Інформація про експерта

There can be zero or more elif parts, and the else part is optional. The keyword ‘elif’ is short for ‘else if’, and is useful to avoid excessive indentation. An if … elif … elif … sequence is a substitute for the switch or case statements found in other languages. 4.2. for Statements The for statement in Python differs a bit from what you may be used to in C or Pascal. Rather than always iterating over an arithmetic progression of numbers (like in Pascal), or giving the user the ability to define both the iteration step and halting condition (as C), Python’s for statement iterates over the items of any sequence (a list or a string), in the order that they appear in the sequence. For example (no pun intended):


@ CheKit 2021 All Rights Reserved