feat(learn): Denoting Code Blocks in Python (#38723)
This commit is contained in:
committed by
Mrugesh Mohapatra
parent
add7feb7a5
commit
1284406ba2
@ -14,13 +14,13 @@ videoId: PrQV9JkLhb4
|
||||
|
||||
```yml
|
||||
question:
|
||||
text: Question
|
||||
text: 'How do we define blocks of code in the body of functions in Python?'
|
||||
answers:
|
||||
- one
|
||||
- two
|
||||
- three
|
||||
solution: 3
|
||||
- 'We use a set of curly braces, one on either side of each new block of our code.'
|
||||
- 'We use indentation, usually right-aligned 4 spaces.'
|
||||
- 'We do not denote blocks of code.'
|
||||
- 'We could use curly braces or indentation to denote blocks of code.'
|
||||
solution: 2
|
||||
```
|
||||
|
||||
</section>
|
||||
|
||||
|
Reference in New Issue
Block a user