Files
freeCodeCamp/curriculum/challenges/chinese/07-scientific-computing-with-python/python-for-everybody/conditional-execution.md
Randell Dawson 94f0cf0ef8 chore(learn): Remove remaining isHidden keys from frontmatter (English and Chinese challenges) (#39809)
* fix: remove isHidden key from tool template

* fix: removed isHidden key from English challenges

* fix: remove isHidden key from Chinese challenges
2020-10-08 14:18:47 +02:00

721 B

id, challengeType, videoId
id challengeType videoId
5e7b9f050b6c005b0e76f058 11 gz_IfIsZQtc

Description

Tests

question:
  text: |
    Which code is indented correctly to print "Yes" if x = 0 and 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")
        ```
  solution: 4