Files
freeCodeCamp/curriculum/challenges/portuguese/08-data-analysis-with-python/data-analysis-with-python-course/numpy-boolean-arrays.md
Nicholas Carrigan (he/him) f25e3e69f8 feat: enable new langs (#42491)
Enable italian and portuguese
2021-06-15 13:19:18 +05:30

850 B

id, title, challengeType, videoId, dashedName
id title challengeType videoId dashedName
5e9a093a74c4063ca6f7c156 Numpy Boolean Arrays 11 N1ttsMmcVMM numpy-boolean-arrays

--description--

Instead of using notebooks.ai like it shows in the video, you can use Google Colab instead.

More resources:

--question--

--text--

What will the following code print out?

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