2021-02-06 04:42:36 +00:00
|
|
|
---
|
|
|
|
id: 5e7b9f050b6c005b0e76f058
|
2022-03-10 20:35:22 +05:30
|
|
|
title: Ejecución de condicionales
|
2021-02-06 04:42:36 +00:00
|
|
|
challengeType: 11
|
|
|
|
videoId: gz_IfIsZQtc
|
2022-03-10 20:35:22 +05:30
|
|
|
bilibiliIds:
|
|
|
|
aid: 206949935
|
|
|
|
bvid: BV1Jh411z7bY
|
|
|
|
cid: 376337035
|
2021-02-06 04:42:36 +00:00
|
|
|
dashedName: conditional-execution
|
|
|
|
---
|
|
|
|
|
|
|
|
# --question--
|
|
|
|
|
|
|
|
## --text--
|
|
|
|
|
2022-03-10 20:35:22 +05:30
|
|
|
¿Qué código está destinado a imprimir correctamente "Yes" si x = 0 y y = 10?
|
2021-02-06 04:42:36 +00:00
|
|
|
|
|
|
|
## --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
|
|
|
|
|