Files
freeCodeCamp/curriculum/challenges/korean/08-data-analysis-with-python/numpy/initializing-different-arrays.md
camperbot 7a0d396180 chore(i18n,learn): processed translations (#53415)
Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2024-02-13 18:31:01 +01:00

49 lines
579 B
Markdown

---
id: 5e9a0a8e09c5df3cc3600ed5
title: Initializing Different Arrays
challengeType: 11
videoId: CEykdsKT4U4
bilibiliIds:
aid: 718044756
bvid: BV1MQ4y1k7BB
cid: 409025638
dashedName: initializing-different-arrays
---
# --question--
## --text--
다음 코드는 무엇을 출력하나요?
```py
a = np.array([[1, 2, 3, 4, 5], [6, 7, 8, 9, 10]])
print(np.full_like(a, 100))
```
## --answers--
```py
[[100 100 100 100 100]]
```
---
```py
[[100 100 100 100 100]
[100 100 100 100 100]]
```
---
```py
[[ 1 2 3 4 5]
[ 6 7 20 9 10]]
```
## --video-solution--
2