#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:
In questa pagina del sito puoi guardare il video online Python #1 Easy Tutorial for absolute beginners - Python Block Indentation della durata di ore minuti seconda in buona qualità , che l'utente ha caricato FutureVerse Studios 28 giugno 2020, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 55 volte e gli è piaciuto 2 spettatori. Buona visione!