Python Indentation In Python, The indentation is the white space at the beginning of a line to define scope. Generally the other programming languages uses brackets to defined the scope of a function, loop etc. Python uses indentation instead of brackets for this purpose. Python Indentation Example Open a Python terminal and run below example: a = “Rahul” def myfun(): b = “TecAdmin” print(a) print(b) myfun() In above example, line number 3,4 and 5 have blank spaces before them. This is known as indentation. You can use any number of…
Read More