Files
2024-01-24 19:52:36 +01:00

1.1 KiB

id, title, challengeType, videoId, bilibiliIds, dashedName
id title challengeType videoId bilibiliIds dashedName
5e9a093a74c4063ca6f7c154 Numpy Arrays 11 VDYVFHBL1AM
aid bvid cid
890607366 BV1zP4y1h7FR 409011400
numpy-arrays

--description--

بدلاً من استخدام (notebooks.ai) كما هو موضح بالفيديو يمكنك استخدام (Google Colab).

المزيد من المصادر:

--question--

--text--

ماذا سيطبع الكود التالي؟

A = np.array([
    ['a', 'b', 'c'],
    ['d', 'e', 'f'],
    ['g', 'h', 'i']
])

print(A[:, :2])

--answers--

[['a' 'b']]

[['b' 'c']
['e' 'f']
['h' 'i']]

[['a' 'b']
['d' 'e']
['g' 'h']]

--video-solution--

3