Knowee
Questions
Features
Study Tools

Q.No.1. Which is used to define block of code in python? { } ( ) Indentation

Question

Q.No.1. Which is used to define block of code in python? { } ( ) Indentation

🧐 Not the exact question you are looking for?Go ask a question

Solution

Indentation is used to define a block of code in Python. Unlike other programming languages that use braces {} or parentheses (), Python uses indentation to enclose code blocks. This means that the lines of code within a block must be indented at the same level and start at the same point. This is a fundamental aspect of Python's syntax and structure.

Similar Questions

Which of the following is used to define a block of code in Python language?IndentationKeyBracketsAll of the mentioned

How is a code block indicated in Python?BracketsIndentationColonNone of the above

What do we use to define a block of code in Python language?

What do you mean by indentation in python? Is indentation required in python?

What do we use to define a block of code in Python language?*0 pointsKeyBracketsIndentationNone of these

1/3

Upgrade your grade with Knowee

Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.