1022 B
1022 B
id | title | challengeType | videoId | bilibiliIds | dashedName | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|
5e9a093a74c4063ca6f7c156 | Numpy 布爾值的數組 | 11 | N1ttsMmcVMM |
|
numpy-boolean-arrays |
--description--
在視頻中我們使用的編輯器工具是在 notebook.ai 這個平臺,你也可以選擇用其他的平臺,比如說 Google Colab 也是一個不錯的選擇。
以下有更多的資料:
--question--
--text--
以下代碼會打印出什麼?
a = np.arange(5)
print(a <= 3)
--answers--
[False, False, False, False, True]
[5]
[0, 1, 2, 3]
[True, True, True, True, False]
--video-solution--
4