What is the role of indentation in Python?
Question :
What is the role of indentation in Python?
Indentation plays a very important role in Python. Python uses indentation to create blocks of code. Statements at same indentation level are part of same block/suit. You cannot unnecessarily indent a statement; python will raise an error for that.