Code

Indentation in Python | Why does Python use indentation

What is Indentation? Indentation is nothing but the space at the beginning of a code line. In other programming languages, like C++, Javascript, etc., the Indentation is just for the readability of code while in Python, Identation is mandatory otherwise the code will throw IdentationError. In Python, Indentation is used in various cases like while …

Indentation in Python | Why does Python use indentation Read More »