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

728 B

id, title, challengeType, isRequired, videoId
id title challengeType isRequired videoId
5e7b9f140b6c005b0e76f07d Web Services: JSON 11 true ZJE-U56BppM

Description

Tests

question:
  text: |
    What will the following code print?:
    ```python
    import json
    data = '''
      [
        { 'id' : '001',
          'x' : '2',
         'name' : 'Quincy'
        } ,
        { 'id' : '009',
          'x' : '7',
          'name' : 'Mrugesh'
        }
      ]
    '''
    info = json.loads(data)
    print(info[1]['name'])
    ```
  answers:
    - |
        Quincy
    - |
        Mrugesh
    - |
        001
    - |
        009
    - |
        [Error]
  solution: 2