Computer Science, asked by devakinandan996, 4 months ago

how does python create blocks ?

Answers

Answered by nrruiwale
1

Answer:

yes

Explanation:

A block is a group of statements in a program or script. Usually, it consists of at least one statement and declarations for the block, depending on the programming or scripting language. A language which allows grouping with blocks, is called a block structured language. Generally, blocks can contain blocks as well, so we get a nested block structure. A block in a script or program functions as a means to group statements to be treated as if they were one statement. In many cases, it also serves as a way to limit the lexical scope of variables and functions.

Similar questions