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

Veröffentlicht am: 28 Juni 2020
auf dem Kanal: 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:


Auf dieser Seite können Sie das Online-Video Python #1 Easy Tutorial for absolute beginners - Python Block Indentation mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer FutureVerse Studios 28 Juni 2020 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 55 Mal angesehen und es wurde von 2 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!