How would you define a block in python?
Answer / Navjot Singh
A block in Python refers to a set of indented statements that are executed together. Blocks can be defined using the colon (:) and the indentation level.
| Is This Answer Correct ? | 0 Yes | 0 No |
How do I make python scripts executable?
What does exit () do in python?
What is super () in python?
How many constructors can a class have?
Is print a function in python?
Is python object-oriented? What is an object-oriented programming
What is monkey Patching in python?
What is subclass in python?
What is python used for today?
What is tkinter?
Rules for local and global variables in python?
What does map function in python do?