29 lines
602 B
Markdown
29 lines
602 B
Markdown
|
---
|
||
|
id: 5e7b9f050b6c005b0e76f058
|
||
|
title: Conditional A
|
||
|
challengeType: 11
|
||
|
isRequired: true
|
||
|
videoId: gz_IfIsZQtc
|
||
|
---
|
||
|
|
||
|
## Description
|
||
|
<section id='description'>
|
||
|
|
||
|
</section>
|
||
|
|
||
|
## Tests
|
||
|
<section id='tests'>
|
||
|
|
||
|
```yml
|
||
|
question:
|
||
|
text: 'Which code is indented correctly to print "Yes" if 0 = x and y = 10?'
|
||
|
answers:
|
||
|
- '<pre>if 0 = x:<br>if y = 10:<br>print("Yes.")</pre>'
|
||
|
- '<pre>if 0 = x:<br> if y = 10:<br> print("Yes.")</pre>'
|
||
|
- '<pre>if 0 = x:<br>if y = 10:<br> print("Yes.")</pre>'
|
||
|
- '<pre>if 0 = x:<br> if y = 10:<br> print("Yes.")</pre>'
|
||
|
solution: 3
|
||
|
```
|
||
|
|
||
|
</section>
|