55 lines
656 B
Markdown
55 lines
656 B
Markdown
![]() |
---
|
||
|
id: 5e7b9f050b6c005b0e76f058
|
||
|
title: 条件付き実行
|
||
|
challengeType: 11
|
||
|
videoId: gz_IfIsZQtc
|
||
|
bilibiliIds:
|
||
|
aid: 206949935
|
||
|
bvid: BV1Jh411z7bY
|
||
|
cid: 376337035
|
||
|
dashedName: conditional-execution
|
||
|
---
|
||
|
|
||
|
# --question--
|
||
|
|
||
|
## --text--
|
||
|
|
||
|
x = 0 かつ y = 10 の場合、”Yes” を出力するために正しくインデントされているコードはどれですか?
|
||
|
|
||
|
## --answers--
|
||
|
|
||
|
```python
|
||
|
if 0 == x:
|
||
|
if y == 10:
|
||
|
print("Yes")
|
||
|
```
|
||
|
|
||
|
---
|
||
|
|
||
|
```python
|
||
|
if 0 == x:
|
||
|
if y == 10:
|
||
|
print("Yes")
|
||
|
```
|
||
|
|
||
|
---
|
||
|
|
||
|
```python
|
||
|
if 0 == x:
|
||
|
if y == 10:
|
||
|
print("Yes")
|
||
|
```
|
||
|
|
||
|
---
|
||
|
|
||
|
```python
|
||
|
if 0 == x:
|
||
|
if y == 10:
|
||
|
print("Yes")
|
||
|
```
|
||
|
|
||
|
## --video-solution--
|
||
|
|
||
|
4
|
||
|
|