#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:
Nesta página do site você pode assistir ao vídeo on-line Python #1 Easy Tutorial for absolute beginners - Python Block Indentation duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário FutureVerse Studios 28 Junho 2020, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 55 vezes e gostou 2 espectadores. Boa visualização!