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

601 B

id, challengeType, videoId
id challengeType videoId
5e7b9f160b6c005b0e76f086 11 FiABKEuaSJ8

Description

Tests

question:
  text: |
    What will the following program print?:
    ```python
    class PartyAnimal:
        x = 0
        def party(self):
            self.x = self.x + 2
            print(self.x)

    an = PartyAnimal()
    an.party()
    an.party()
    ```
  answers:
    - |
        So far 1

        So far 2
    - |
        0

        0
    - |
        2

        2
    - |
        2

        4
  solution: 4