Indentation in Python | Python Tutorials for Beginners #lec52
0:00 / 0:00
John
Angol
Egyetemisták
Tömör
Emeld ki a videódat másodpercek alatt. Állítsd be a hangot, nyelvet, stílust és közönséget pontosan úgy, ahogy szeretnéd!
Összegzés
Indentation in Python is crucial as it indicates code blocks, unlike other languages that use braces. Proper indentation ensures readability and prevents errors. Each line within a block must have the same indentation level, typically four spaces. The first line of code should not be indented, as it will cause an error.