Files
freeCodeCamp/curriculum/challenges/english/07-scientific-computing-with-python/python-for-everybody/loops-and-iterations.english.md
Oliver Eyton-Williams bd68b70f3d Feat: hide blocks not challenges (#39504)
* fix: remove isHidden flag from frontmatter

* fix: add isUpcomingChange

Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>

* feat: hide blocks not challenges

Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>

Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
2020-09-03 15:07:40 -07:00

601 B

id, title, challengeType, isRequired, videoId
id title challengeType isRequired videoId
5e7b9f060b6c005b0e76f05c Loops and Iterations 11 true dLA-szNRnUY

Description

Tests

question:
  text: |
    What will the following code print out?:
    ```python
    n = 0
    while True:
        if n == 3:
            break
        print(n)
        n = n + 1
    ```
  answers:
    - |
        0

        1

        2
    - |
        0

        1

        2

        3
    - |
        1

        2
    - |
        1

        2

        3
  solution: 1