Indentation in Python - Yes, Whitespace Matters!

Pubblicato il: 20 giugno 2024
sul canale di: Logic Lambda
530
9

In Python, code blocks are indicated by a common indent level.

0:06 - Code blocks
0:37 - Some guidelines for indenting Python code
1:08 - Code blocks in C are specified by { braces }
1:31 - A Python program with no indentation (no code blocks)
1:52 - Indenting if statements in Python
2:21 - PEP 8 - Style Guide for Python Code
2:51 - Indenting a loop inside an if statement
3:08 - Indenting the body of a function
3:44 - How failing to indent a code block can change the meaning of a function
4:06 - Using tabs & spaces interchangeably does not work


In questa pagina del sito puoi guardare il video online Indentation in Python - Yes, Whitespace Matters! della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Logic Lambda 20 giugno 2024, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 530 volte e gli è piaciuto 9 spettatori. Buona visione!