Python #1 Easy Tutorial for absolute beginners - Python Block Indentation

Publié le: 28 juin 2020
sur la chaîne: FutureVerse Studios
55
2

#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:


Sur cette page du site, vous pouvez voir la vidéo en ligne Python #1 Easy Tutorial for absolute beginners - Python Block Indentation durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur FutureVerse Studios 28 juin 2020, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 55 fois et il a aimé 2 téléspectateurs. Bon visionnage!