#python #Django #DjangorestFramework#codingprogramming#AI#machinelearning#leavethejobandstartcoding
In other languages these brackets {} are used to separate the different block of codes or to control loop.
Python uses indentation.
Pay close attention to the use of white space.
Wrong calibration or undue Spaces could result in error or unexpected behavior of program.
Python uses colon (:) and indentation to show where block of codes begin and end.
All blocks start with colon : and then contains indented lines below it.
Always use 4 spaces for indentation.
Using tabs exclusively is possible but spaces are preferred.
Python 3 disallows mixing the use of tabs and spaces for indentation. In such case a compile-time error is generated:
On this page of the site you can watch the video online Python #1 Easy Tutorial for absolute beginners - Python Block Indentation with a duration of hours minute second in good quality, which was uploaded by the user FutureVerse Studios 28 June 2020, share the link with friends and acquaintances, this video has already been watched 55 times on youtube and it was liked by 2 viewers. Enjoy your viewing!