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

676 B

id, title, challengeType, videoId
id title challengeType videoId
5e9a0a8e09c5df3cc3600ed9 Reorganizing Arrays 11 VNWAQbEM-C8

Description

Tests

question:
  text: |
    What code would produce the following array?

    ```py
    [[1. 1.]
    [1. 1.]
    [1. 1.]
    [1. 1.]]
    ```
  answers:
    - |
      ```py
      a = np.ones((2, 4))
      b = a.reshape((4, 2))
      print(b)
      ```
    - |
      ```py
      a = np.ones((2, 4))
      b = a.reshape((2, 4))
      print(b)
      ```
    - |
      ```py
      a = np.ones((2, 4))
      b = a.reshape((8, 1))
      print(b)
      ```
  solution: 1