Code in Python is arranged based on indention. What do you call lines of text that feature a similar arrangement?
Answers
Answered by
1
Answer:
Highlight/ select the lines you want indented, then press TAB as often as needed until they reach the proper indent level. You can remove spaces with SHIFT TAB . You can also use CTRL+ALT+I to auto-indent the selection. Select the block that you want to indent then press TAB
Indentation refers to the spaces at the beginning of a code line. Where in other programming languages the indentation in code is for readability only, the indentation in Python is very important. Python uses indentation to indicate a block of code.
Similar questions