freeCodeCamp/curriculum/challenges/italian/07-scientific-computing-wit.../python-for-everybody/conditional-execution.md

55 lines
603 B
Markdown

---
id: 5e7b9f050b6c005b0e76f058
title: Esecuzione condizionale
challengeType: 11
videoId: gz_IfIsZQtc
bilibiliIds:
aid: 206949935
bvid: BV1Jh411z7bY
cid: 376337035
dashedName: conditional-execution
---
# --question--
## --text--
Quale codice è indentato correttamente per stampare "Yes" se x = 0 e y = 10?
## --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