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

651 B

id, title, challengeType, isRequired, videoId
id title challengeType isRequired videoId
5e7b9f160b6c005b0e76f086 Objects: A Sample Class 11 true 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