All statements inside a block are intended at same level. True False c) Not necessarily d) Depends on user’s choice
Answers
Answered by
1
Answer:
it's d depends on users choice
Answered by
0
All statements inside a block of process are intended at same level and must be of same amount.
The compiler throws error if the indentation is not proper.
Explanation:
- In most languages, indentation is used only to help make the process look clear and make it easy for the users.
- But in Python, it is required for indicating what block of process a statement belongs to in a program.
- To indicate a block of program in Python specially, one must indent each line of the block by the same amount.
- The two blocks in program if there is a if-statement then both will be indented by the four spaces, which is the typical amount of indentation for Python.
Similar questions